/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DateFormatTest.java | 110 f2 = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.LONG); in test_getDateInstanceI() 113 DateFormat.LONG, Locale.getDefault()))); in test_getDateInstanceI() 157 f2 = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.LONG, in test_getDateInstanceILjava_util_Locale() 217 testDateTime(DateFormat.SHORT, DateFormat.LONG); in test_getDateTimeInstanceII() 222 testDateTime(DateFormat.MEDIUM, DateFormat.LONG); in test_getDateTimeInstanceII() 225 testDateTime(DateFormat.LONG, DateFormat.SHORT); in test_getDateTimeInstanceII() 226 testDateTime(DateFormat.LONG, DateFormat.MEDIUM); in test_getDateTimeInstanceII() 227 testDateTime(DateFormat.LONG, DateFormat.LONG); in test_getDateTimeInstanceII() 228 testDateTime(DateFormat.LONG, DateFormat.FULL); in test_getDateTimeInstanceII() 232 testDateTime(DateFormat.FULL, DateFormat.LONG); in test_getDateTimeInstanceII() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldTimeZoneTest.java | 101 assertEquals("Pacific Daylight Time", tz.getDisplayName(true, TimeZone.LONG)); in test_getDisplayNameZI() 102 assertEquals("Pacific Standard Time", tz.getDisplayName(false, TimeZone.LONG)); in test_getDisplayNameZI() 107 assertEquals("Pacific Daylight Time", tz.getDisplayName(true, TimeZone.LONG, Locale.US)); in test_getDisplayNameZILjava_util_Locale() 108 assertEquals("Pacific Standard Time", tz.getDisplayName(false, TimeZone.LONG, Locale.UK)); in test_getDisplayNameZILjava_util_Locale() 110 tz.getDisplayName(true, TimeZone.LONG, Locale.FRANCE)); in test_getDisplayNameZILjava_util_Locale() 112 tz.getDisplayName(false, TimeZone.LONG, Locale.FRANCE)); in test_getDisplayNameZILjava_util_Locale()
|
D | OldAndroidLocaleTest.java | 65 berlin.getDisplayName(false, TimeZone.LONG, eng)); in testResourceBundles() 67 berlin.getDisplayName(true, TimeZone.LONG, eng)); in testResourceBundles() 70 berlin.getDisplayName(false, TimeZone.LONG, deu)); in testResourceBundles() 72 berlin.getDisplayName(true, TimeZone.LONG, deu)); in testResourceBundles()
|
D | TimeZoneTest.java | 266 String longDst = tz.getDisplayName(true, TimeZone.LONG, locale); in checkDisplayNames() 267 String longStd = tz.getDisplayName(false, TimeZone.LONG, locale); in checkDisplayNames() 325 assertEquals("Apia Daylight Time", tz.getDisplayName(true, TimeZone.LONG, Locale.US)); in testApia() 326 assertEquals("Apia Standard Time", tz.getDisplayName(false, TimeZone.LONG, Locale.US)); in testApia() 409 assertEquals(canonical.getDisplayName(true, TimeZone.LONG, Locale.ENGLISH), in testDisplayNameForNonCanonicalTimezones() 410 nonCanonical.getDisplayName(true, TimeZone.LONG, Locale.ENGLISH)); in testDisplayNameForNonCanonicalTimezones()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKLocalizedPrinterParser.java | 130 {LocalDate.of(2012, 6, 30), FormatStyle.LONG, DateFormat.LONG, Locale.UK}, in data_date() 131 {LocalDate.of(2012, 6, 30), FormatStyle.LONG, DateFormat.LONG, Locale.US}, in data_date() 132 {LocalDate.of(2012, 6, 30), FormatStyle.LONG, DateFormat.LONG, Locale.FRANCE}, in data_date() 133 {LocalDate.of(2012, 6, 30), FormatStyle.LONG, DateFormat.LONG, Locale.JAPAN}, in data_date()
|
D | TCKFormatStyle.java | 98 …ime.of(LocalDateTime.of(2001, 10, 2, 1, 2, 3), ZONEID_PARIS), FormatStyle.LONG, "2 October 2001 at… in data_formatStyle() 103 …Time.of(LocalDateTime.of(2001, 10, 2, 1, 2, 3), OFFSET_PTWO), FormatStyle.LONG, "2 October 2001 at… in data_formatStyle()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeFormatterBuilder.java | 909 …{FormatStyle.LONG, FormatStyle.LONG, IsoChronology.INSTANCE, Locale.US, "MMMM d, y 'at' h:mm:ss a … in localizedDateTimePatterns() 913 {FormatStyle.LONG, null, IsoChronology.INSTANCE, Locale.US, "MMMM d, y"}, in localizedDateTimePatterns() 917 {null, FormatStyle.LONG, IsoChronology.INSTANCE, Locale.US, "h:mm:ss a z"}, in localizedDateTimePatterns() 923 …{FormatStyle.LONG, FormatStyle.LONG, IsoChronology.INSTANCE, Locale.FRENCH, "d MMMM y 'à' HH:mm:ss… in localizedDateTimePatterns() 927 {FormatStyle.LONG, null, IsoChronology.INSTANCE, Locale.FRENCH, "d MMMM y"}, in localizedDateTimePatterns() 931 {null, FormatStyle.LONG, IsoChronology.INSTANCE, Locale.FRENCH, "HH:mm:ss z"}, in localizedDateTimePatterns() 937 …{FormatStyle.LONG, FormatStyle.LONG, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u670… in localizedDateTimePatterns() 941 … {FormatStyle.LONG, null, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u6708d\u65e5"}, in localizedDateTimePatterns() 945 {null, FormatStyle.LONG, JapaneseChronology.INSTANCE, Locale.JAPANESE, "H:mm:ss z"}, in localizedDateTimePatterns() 951 …{FormatStyle.LONG, FormatStyle.LONG, MinguoChronology.INSTANCE, Locale.CHINESE, "Gy\u5e74M\u6708d\… in localizedDateTimePatterns() [all …]
|
D | TestZoneTextPrinterParser.java | 105 tz.getDisplayName(isDST, TimeZone.LONG, locale)); in test_printText()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | FormatStyle.java | 87 LONG, enumConstant
|
/libcore/ojluni/src/main/java/java/util/ |
D | TimeZone.java | 159 public static final int LONG = 1; field in TimeZone 324 return getDisplayName(false, LONG, in getDisplayName() 344 return getDisplayName(false, LONG, locale); in getDisplayName() 395 case LONG: in getDisplayName()
|
D | Calendar.java | 739 public static final int LONG = 2; field in Calendar 815 public static final int LONG_STANDALONE = LONG | STANDALONE_MASK; 2239 strings = (baseStyle == LONG) ? symbols.getMonths() : symbols.getShortMonths(); in getFieldStrings() 2243 strings = (baseStyle == LONG) ? symbols.getWeekdays() : symbols.getShortWeekdays(); in getFieldStrings()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | TimeZoneNames.java | 139 return (style == TimeZone.LONG) ? row[LONG_NAME_DST] : row[SHORT_NAME_DST]; in getDisplayName() 141 return (style == TimeZone.LONG) ? row[LONG_NAME] : row[SHORT_NAME]; in getDisplayName()
|
D | LocaleData.java | 211 case DateFormat.LONG: in getDateFormat() 233 case DateFormat.LONG: in getTimeFormat()
|
D | RelativeDateTimeFormatter.java | 128 style = android.icu.text.RelativeDateTimeFormatter.Style.LONG; in getRelativeTimeSpanString() 286 style = android.icu.text.RelativeDateTimeFormatter.Style.LONG; in getRelativeDateTimeString()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TimeZoneTest.java | 192 timezone.getDisplayName(false, TimeZone.LONG, Locale.CHINA)); in test_getDisplayNameZILjava_util_Locale() 270 String actualName = defaultZone.getDisplayName(false, TimeZone.LONG); in test_getDisplayName_ZI() 271 String expectedName = defaultZone.getDisplayName(false, TimeZone.LONG, in test_getDisplayName_ZI()
|
D | SimpleTimeZoneTest.java | 172 TimeZone.LONG, in test_ConstructorILjava_lang_StringIIIIIIIIIII() 181 TimeZone.LONG, in test_ConstructorILjava_lang_StringIIIIIIIIIII() 184 TimeZone.LONG)); in test_ConstructorILjava_lang_StringIIIIIIIIIII() 188 TimeZone.LONG, in test_ConstructorILjava_lang_StringIIIIIIIIIII() 197 TimeZone.LONG, in test_ConstructorILjava_lang_StringIIIIIIIIIII() 200 TimeZone.LONG)); in test_ConstructorILjava_lang_StringIIIIIIIIIII()
|
D | CalendarTest.java | 806 assertEquals(cal.getDisplayName(field, Calendar.LONG, in test_getDisplayNameIILjava_util_Locale() 812 assertEquals(cal.getDisplayName(field, Calendar.LONG, in test_getDisplayNameIILjava_util_Locale() 820 assertEquals(cal.getDisplayName(field, Calendar.LONG, in test_getDisplayNameIILjava_util_Locale() 826 assertEquals(cal.getDisplayName(field, Calendar.LONG, in test_getDisplayNameIILjava_util_Locale() 837 assertEquals(cal.getDisplayName(field, Calendar.LONG, in test_getDisplayNameIILjava_util_Locale() 848 assertEquals(cal.getDisplayName(field, Calendar.LONG, in test_getDisplayNameIILjava_util_Locale() 855 assertNull(cal.getDisplayName(field, Calendar.LONG, locale)); in test_getDisplayNameIILjava_util_Locale() 869 cal.getDisplayName(Calendar.FIELD_COUNT, Calendar.LONG, Locale.US); in test_getDisplayNameIILjava_util_Locale() 950 assertEquals(2, Calendar.LONG); in test_getDisplayNamesIILjava_util_Locale() 959 Calendar.LONG, locale); in test_getDisplayNamesIILjava_util_Locale() [all …]
|
/libcore/luni/src/main/java/libcore/util/ |
D | EmptyArray.java | 40 public static final long[] LONG = new long[0]; field in EmptyArray
|
/libcore/luni/src/test/java/libcore/libcore/icu/ |
D | TimeZoneIntegrationTest.java | 419 final int style = android.icu.util.TimeZone.LONG; in testDisplayNamesWithScript() 484 timeZone.getDisplayName(false /* daylight */, java.util.TimeZone.LONG, in testDstMeansSummer() 487 timeZone.getDisplayName(true /* daylight */, java.util.TimeZone.LONG, in testDstMeansSummer() 507 timeZone.getDisplayName(false /* daylight */, android.icu.util.TimeZone.LONG, in testDstMeansSummer() 510 timeZone.getDisplayName(true /* daylight */, android.icu.util.TimeZone.LONG, in testDstMeansSummer()
|
/libcore/ojluni/annotations/mmodule/java/text/ |
D | DateFormat.annotated.java | 137 public static final int LONG = 1; // 0x1 field in DateFormat
|
/libcore/ojluni/annotations/hiddenapi/java/text/ |
D | DateFormat.java | 199 public static final int LONG = 1; // 0x1 field in DateFormat
|
/libcore/ojluni/src/main/java/java/text/ |
D | DateFormat.java | 430 public static final int LONG = 1; field in DateFormat
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Calendar.annotated.java | 204 public static final int LONG = 2; // 0x2 field in Calendar
|
/libcore/ojluni/annotations/sdk/nullability/java/text/ |
D | DateFormat.annotated.java | 134 public static final int LONG = 1; // 0x1 field in DateFormat
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Calendar.java | 477 public static final int LONG = 2; // 0x2 field in Calendar
|