Yields a unit pattern which optionally contains a placeholder of the form "{0}" standing for the count of units. @param width text width (ABBREVIATED as synonym for SHORT) @param category plural category @param unit associated iso unit @return unit pattern
(
TextWidth width,
PluralCategory category,
IsoUnit unit
)
| 259 | * @return unit pattern |
| 260 | */ |
| 261 | String getPattern( |
| 262 | TextWidth width, |
| 263 | PluralCategory category, |
| 264 | IsoUnit unit |
| 265 | ) { |
| 266 | |
| 267 | checkNull(width, category); |
| 268 | return this.patterns.get(unit).get(width).get(category); |
| 269 | |
| 270 | } |
| 271 | |
| 272 | /** |
| 273 | * <p>Yields a unit pattern which optionally contains a placeholder |