|
135 | 135 | * java.util.Date d = f.parse("10/26/2016"); |
136 | 136 | * </pre> |
137 | 137 | * |
| 138 | + * <p><strong>Support for unicode extensions:</strong></p> |
| 139 | + * |
| 140 | + * <dl> |
| 141 | + * <dt><em>nu</em></dt> |
| 142 | + * <dd>All number systems listed in the enum {@link net.time4j.format.NumberSystem} support |
| 143 | + * the nu-extension. Example: {@code Locale.forLanguageTag("th-TH-u-nu-thai")} will use |
| 144 | + * Thai numerals in printing and parsing. Normally the number system is determined by the language |
| 145 | + * and country but the nu-extension enables to override the default. </dd> |
| 146 | + * <dt><em>ca</em></dt> |
| 147 | + * <dd>All calendars compatible with the CLDR-pattern support the ca-extension. The support is |
| 148 | + * realized by all static factory methods with the name {@code ofGenericXYZ(...)}. Example: The expression |
| 149 | + * {@code ofGenericCalendarStyle(DisplayMode.FULL, Locale.forLanguageTag("ar-SA-u-ca-islamic-umalqura"))} |
| 150 | + * will use the calendar of Saudi-Arabia in printing and parsing. </dd> |
| 151 | + * </dl> |
| 152 | + * |
138 | 153 | * @param <T> generic type of chronological entity |
139 | 154 | * @author Meno Hochschild |
140 | 155 | * @since 3.0 |
|
170 | 185 | * java.util.Date d = f.parse("10/26/2016"); |
171 | 186 | * </pre> |
172 | 187 | * |
| 188 | + * <p><strong>Unterstützung für Unicode-Erweiterungen:</strong></p> |
| 189 | + * |
| 190 | + * <dl> |
| 191 | + * <dt><em>nu</em></dt> |
| 192 | + * <dd>Alle Zahlsysteme, die im Enum {@link net.time4j.format.NumberSystem} definiert sind, |
| 193 | + * unterstützen die nu-Erweiterung. Beispiel: |
| 194 | + * {@code Locale.forLanguageTag("th-TH-u-nu-thai")} wird Thai-Numerale in der Ausgabe und |
| 195 | + * Interpretation verwenden. Normalerweise wird das Zahlsystem durch die Sprache und das Land |
| 196 | + * bestimmt, aber die nu-Erweiterung kann die Vorgabe überschreiben. </dd> |
| 197 | + * <dt><em>ca</em></dt> |
| 198 | + * <dd>Alle Kalender, die kompatibel mit der CLDR-Formatmusterdefinition sind, unterstützen die |
| 199 | + * ca-Erweiterung. Die Unterstützung erfolgt mit Hilfe von statischen Fabrikmethoden, deren Namen |
| 200 | + * mit {@code ofGenericXYZ(...)} beginnen. Beispiel: Der Ausdruck |
| 201 | + * {@code ofGenericCalendarStyle(DisplayMode.FULL, Locale.forLanguageTag("ar-SA-u-ca-islamic-umalqura"))} |
| 202 | + * wird den Kalender von Saudi-Arabien in der Ausgabe und Interpretation verwenden. </dd> |
| 203 | + * </dl> |
| 204 | + * |
173 | 205 | * @param <T> generic type of chronological entity |
174 | 206 | * @author Meno Hochschild |
175 | 207 | * @since 3.0 |
|
0 commit comments