Home
last modified time | relevance | path

Searched refs:calendarType (Results 1 – 25 of 265) sorted by relevance

1234567891011

/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/util/locale/provider/
H A DCalendarNameProviderImpl.java55 return getDisplayNameImpl(calendarType, field, value, style, locale, false); in getDisplayName()
59 return getDisplayNameImpl(calendarType, field, value, style, locale, true); in getJavaTimeDisplayName()
64 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNameImpl()
75 if (field == ERA && "japanese".equals(calendarType)) { in getDisplayNameImpl()
115 name = getDisplayName(calendarType, field, value, in getDisplayNameImpl()
147 names = getDisplayNamesImpl(calendarType, field, style, locale, true); in getJavaTimeDisplayNames()
153 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNamesImpl()
213 String calendarType = null; in isSupportedLocale() local
215 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
219 if (calendarType != null) { in isSupportedLocale()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/util/locale/provider/
H A DCalendarNameProviderImpl.java55 return getDisplayNameImpl(calendarType, field, value, style, locale, false); in getDisplayName()
59 return getDisplayNameImpl(calendarType, field, value, style, locale, true); in getJavaTimeDisplayName()
64 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNameImpl()
75 if (field == ERA && "japanese".equals(calendarType)) { in getDisplayNameImpl()
115 name = getDisplayName(calendarType, field, value, in getDisplayNameImpl()
147 names = getDisplayNamesImpl(calendarType, field, style, locale, true); in getJavaTimeDisplayNames()
153 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNamesImpl()
213 String calendarType = null; in isSupportedLocale() local
215 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
219 if (calendarType != null) { in isSupportedLocale()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/sun/util/locale/provider/
H A DCalendarNameProviderImpl.java55 return getDisplayNameImpl(calendarType, field, value, style, locale, false); in getDisplayName()
59 return getDisplayNameImpl(calendarType, field, value, style, locale, true); in getJavaTimeDisplayName()
64 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNameImpl()
83 if (field == ERA && "japanese".equals(calendarType)) { in getDisplayNameImpl()
123 name = getDisplayName(calendarType, field, value, in getDisplayNameImpl()
155 names = getDisplayNamesImpl(calendarType, field, style, locale, true); in getJavaTimeDisplayNames()
161 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNamesImpl()
229 String calendarType = null; in isSupportedLocale() local
231 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
235 if (calendarType != null) { in isSupportedLocale()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/share/classes/sun/util/locale/provider/
H A DCalendarNameProviderImpl.java55 return getDisplayNameImpl(calendarType, field, value, style, locale, false); in getDisplayName()
59 return getDisplayNameImpl(calendarType, field, value, style, locale, true); in getJavaTimeDisplayName()
64 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNameImpl()
83 if (field == ERA && "japanese".equals(calendarType)) { in getDisplayNameImpl()
123 name = getDisplayName(calendarType, field, value, in getDisplayNameImpl()
155 names = getDisplayNamesImpl(calendarType, field, style, locale, true); in getJavaTimeDisplayNames()
161 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNamesImpl()
229 String calendarType = null; in isSupportedLocale() local
231 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
235 if (calendarType != null) { in isSupportedLocale()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/sun/util/locale/provider/
H A DCalendarNameProviderImpl.java55 return getDisplayNameImpl(calendarType, field, value, style, locale, false); in getDisplayName()
59 return getDisplayNameImpl(calendarType, field, value, style, locale, true); in getJavaTimeDisplayName()
64 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNameImpl()
83 if (field == ERA && "japanese".equals(calendarType)) { in getDisplayNameImpl()
123 name = getDisplayName(calendarType, field, value, in getDisplayNameImpl()
155 names = getDisplayNamesImpl(calendarType, field, style, locale, true); in getJavaTimeDisplayNames()
161 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNamesImpl()
229 String calendarType = null; in isSupportedLocale() local
231 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
235 if (calendarType != null) { in isSupportedLocale()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.base/share/classes/sun/util/locale/provider/
H A DCalendarNameProviderImpl.java55 return getDisplayNameImpl(calendarType, field, value, style, locale, false); in getDisplayName()
59 return getDisplayNameImpl(calendarType, field, value, style, locale, true); in getJavaTimeDisplayName()
64 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNameImpl()
83 if (field == ERA && "japanese".equals(calendarType)) { in getDisplayNameImpl()
123 name = getDisplayName(calendarType, field, value, in getDisplayNameImpl()
155 names = getDisplayNamesImpl(calendarType, field, style, locale, true); in getJavaTimeDisplayNames()
161 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNamesImpl()
229 String calendarType = null; in isSupportedLocale() local
231 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
235 if (calendarType != null) { in isSupportedLocale()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.base/share/classes/sun/util/locale/provider/
H A DCalendarNameProviderImpl.java55 return getDisplayNameImpl(calendarType, field, value, style, locale, false); in getDisplayName()
59 return getDisplayNameImpl(calendarType, field, value, style, locale, true); in getJavaTimeDisplayName()
64 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNameImpl()
83 if (field == ERA && "japanese".equals(calendarType)) { in getDisplayNameImpl()
123 name = getDisplayName(calendarType, field, value, in getDisplayNameImpl()
155 names = getDisplayNamesImpl(calendarType, field, style, locale, true); in getJavaTimeDisplayNames()
161 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNamesImpl()
232 String calendarType = null; in isSupportedLocale() local
234 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
238 if (calendarType != null) { in isSupportedLocale()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.base/share/classes/sun/util/locale/provider/
H A DCalendarNameProviderImpl.java55 return getDisplayNameImpl(calendarType, field, value, style, locale, false); in getDisplayName()
59 return getDisplayNameImpl(calendarType, field, value, style, locale, true); in getJavaTimeDisplayName()
64 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNameImpl()
83 if (field == ERA && "japanese".equals(calendarType)) { in getDisplayNameImpl()
123 name = getDisplayName(calendarType, field, value, in getDisplayNameImpl()
155 names = getDisplayNamesImpl(calendarType, field, style, locale, true); in getJavaTimeDisplayNames()
161 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNamesImpl()
240 String calendarType = null; in isSupportedLocale() local
242 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
246 if (calendarType != null) { in isSupportedLocale()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.base/share/classes/sun/util/locale/provider/
H A DCalendarNameProviderImpl.java55 return getDisplayNameImpl(calendarType, field, value, style, locale, false); in getDisplayName()
59 return getDisplayNameImpl(calendarType, field, value, style, locale, true); in getJavaTimeDisplayName()
64 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNameImpl()
83 if (field == ERA && "japanese".equals(calendarType)) { in getDisplayNameImpl()
123 name = getDisplayName(calendarType, field, value, in getDisplayNameImpl()
155 names = getDisplayNamesImpl(calendarType, field, style, locale, true); in getJavaTimeDisplayNames()
161 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNamesImpl()
229 String calendarType = null; in isSupportedLocale() local
231 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
235 if (calendarType != null) { in isSupportedLocale()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.base/share/classes/sun/util/locale/provider/
H A DCalendarNameProviderImpl.java55 return getDisplayNameImpl(calendarType, field, value, style, locale, false); in getDisplayName()
59 return getDisplayNameImpl(calendarType, field, value, style, locale, true); in getJavaTimeDisplayName()
64 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNameImpl()
83 if (field == ERA && "japanese".equals(calendarType)) { in getDisplayNameImpl()
123 name = getDisplayName(calendarType, field, value, in getDisplayNameImpl()
155 names = getDisplayNamesImpl(calendarType, field, style, locale, true); in getJavaTimeDisplayNames()
161 String key = getResourceKey(calendarType, field, style, javatime); in getDisplayNamesImpl()
229 String calendarType = null; in isSupportedLocale() local
231 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
235 if (calendarType != null) { in isSupportedLocale()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.Extensions/Globalization/
H A DClientCultureInfo.cs62 var calendarType = calendar.GetType(); in ClientCultureInfo()
63 if (calendarType != typeof(GregorianCalendar)) { in ClientCultureInfo()
64 if (calendarType == typeof(TaiwanCalendar)) { in ClientCultureInfo()
69 else if (calendarType == typeof(KoreanCalendar)) { in ClientCultureInfo()
74 else if (calendarType == typeof(ThaiBuddhistCalendar)) { in ClientCultureInfo()
79 else if (calendarType == typeof(JapaneseCalendar)) { in ClientCultureInfo()
92 else if (calendarType == typeof(HijriCalendar)) { in ClientCultureInfo()
96 else if (calendarType == typeof(UmAlQuraCalendar)) { in ClientCultureInfo()
115 …Type calendarType = cultureInfo.DateTimeFormat == null ? null : cultureInfo.DateTimeFormat.Calenda… in GetClientCultureScriptBlock()
116 if (cultureInfo.Equals(enUS) && (calendarType == typeof(GregorianCalendar))) { in GetClientCultureScriptBlock()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Globalization.Calendars/tests/GregorianCalendar/
H A DGregorianCalendarToFourDigitYear.cs29 foreach (GregorianCalendarTypes calendarType in calendarTypes) in ToFourDigitYear_TestData()
32 …yield return new object[] { calendarType, s_randomDataGenerator.GetInt32(-55) % (MaxTwoDigitYear +… in ToFourDigitYear_TestData()
35 yield return new object[] { calendarType, MinTwoDigitYear }; in ToFourDigitYear_TestData()
38 yield return new object[] { calendarType, MaxTwoDigitYear }; in ToFourDigitYear_TestData()
44 private void ToFourDigitYear(GregorianCalendarTypes calendarType, int year) in ToFourDigitYear() argument
46 Calendar calendar = new GregorianCalendar(calendarType); in ToFourDigitYear()
/dports/net/kf5-kholidays/kholidays-5.89.0/src/parsers/plan2/
H A Dholidayparserdriverplan.cpp87 setParseCalendar(calendarType); in parse()
277 if (calendarType == QStringLiteral("gregorian")) { in typeToSystem()
279 } else if (calendarType == QStringLiteral("hebrew")) { in typeToSystem()
281 } else if (calendarType == QStringLiteral("hijri")) { in typeToSystem()
283 } else if (calendarType == QStringLiteral("jalali")) { in typeToSystem()
285 } else if (calendarType == QStringLiteral("julian")) { in typeToSystem()
287 } else if (calendarType == QStringLiteral("coptic")) { in typeToSystem()
404 m_parseCalendarType = calendarType; in setParseCalendar()
405 setParseCalendar(typeToSystem(calendarType)); in setParseCalendar()
442 m_eventCalendarType = calendarType; in setEventCalendarType()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/make/jdk/src/classes/build/tools/cldrconverter/
H A DBundle.java284 for (CalendarType calendarType : CalendarType.values()) { in getTargetMap()
285 String calendarPrefix = calendarType.keyElementName(); in getTargetMap()
300 adjustEraNames(myMap, calendarType); in getTargetMap()
516 CalendarType calendarType, String name) { in handleDateTimeFormatPatterns() argument
517 String calendarPrefix = calendarType.keyElementName(); in handleDateTimeFormatPatterns()
579 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
589 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
606 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
619 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
629 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/make/jdk/src/classes/build/tools/cldrconverter/
H A DBundle.java276 for (CalendarType calendarType : CalendarType.values()) { in getTargetMap()
277 String calendarPrefix = calendarType.keyElementName(); in getTargetMap()
292 adjustEraNames(myMap, parentsMap, calendarType); in getTargetMap()
509 CalendarType calendarType, String name) { in handleDateTimeFormatPatterns() argument
510 String calendarPrefix = calendarType.keyElementName(); in handleDateTimeFormatPatterns()
572 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
582 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
599 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
612 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
622 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/make/jdk/src/classes/build/tools/cldrconverter/
H A DBundle.java276 for (CalendarType calendarType : CalendarType.values()) { in getTargetMap()
277 String calendarPrefix = calendarType.keyElementName(); in getTargetMap()
292 adjustEraNames(myMap, parentsMap, calendarType); in getTargetMap()
519 CalendarType calendarType, String name) { in handleDateTimeFormatPatterns() argument
520 String calendarPrefix = calendarType.keyElementName(); in handleDateTimeFormatPatterns()
580 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
590 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
607 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
620 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
630 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/make/jdk/src/classes/build/tools/cldrconverter/
H A DBundle.java269 for (CalendarType calendarType : CalendarType.values()) { in getTargetMap()
270 String calendarPrefix = calendarType.keyElementName(); in getTargetMap()
285 adjustEraNames(myMap, parentsMap, calendarType); in getTargetMap()
512 CalendarType calendarType, String name) { in handleDateTimeFormatPatterns() argument
513 String calendarPrefix = calendarType.keyElementName(); in handleDateTimeFormatPatterns()
573 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
583 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
600 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
613 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
623 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/make/jdk/src/classes/build/tools/cldrconverter/
H A DBundle.java271 for (CalendarType calendarType : CalendarType.values()) { in getTargetMap()
272 String calendarPrefix = calendarType.keyElementName(); in getTargetMap()
287 adjustEraNames(myMap, calendarType); in getTargetMap()
505 CalendarType calendarType, String name) { in handleDateTimeFormatPatterns() argument
506 String calendarPrefix = calendarType.keyElementName(); in handleDateTimeFormatPatterns()
568 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
578 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
595 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
608 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
618 converter.convert(calendarType, lastLetter, count, jrePattern); in translateDateFormatLetters()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/sun/util/cldr/
H A DCLDRCalendarNameProviderImpl.java48 String calendarType = null; in isSupportedLocale() local
50 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
53 if (calendarType != null) { in isSupportedLocale()
54 switch (calendarType) { in isSupportedLocale()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/share/classes/sun/util/cldr/
H A DCLDRCalendarNameProviderImpl.java48 String calendarType = null; in isSupportedLocale() local
50 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
53 if (calendarType != null) { in isSupportedLocale()
54 switch (calendarType) { in isSupportedLocale()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/sun/util/cldr/
H A DCLDRCalendarNameProviderImpl.java48 String calendarType = null; in isSupportedLocale() local
50 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
53 if (calendarType != null) { in isSupportedLocale()
54 switch (calendarType) { in isSupportedLocale()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.base/share/classes/sun/util/cldr/
H A DCLDRCalendarNameProviderImpl.java48 String calendarType = null; in isSupportedLocale() local
50 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
53 if (calendarType != null) { in isSupportedLocale()
54 switch (calendarType) { in isSupportedLocale()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.base/share/classes/sun/util/cldr/
H A DCLDRCalendarNameProviderImpl.java48 String calendarType = null; in isSupportedLocale() local
50 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
53 if (calendarType != null) { in isSupportedLocale()
54 switch (calendarType) { in isSupportedLocale()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.base/share/classes/sun/util/cldr/
H A DCLDRCalendarNameProviderImpl.java48 String calendarType = null; in isSupportedLocale() local
50 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
53 if (calendarType != null) { in isSupportedLocale()
54 switch (calendarType) { in isSupportedLocale()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.base/share/classes/sun/util/cldr/
H A DCLDRCalendarNameProviderImpl.java48 String calendarType = null; in isSupportedLocale() local
50 calendarType = locale.getUnicodeLocaleType("ca"); in isSupportedLocale()
53 if (calendarType != null) { in isSupportedLocale()
54 switch (calendarType) { in isSupportedLocale()

1234567891011