/libcore/ojluni/src/main/java/java/time/format/ |
H A D | FormatStyle.java | 87 LONG, enum constant in enum:FormatStyle
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | SizeOf.java | 24 public static final int LONG = 8; field in class:SizeOf
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | OldTimeZoneTest.java | 101 assertEquals("Pacific Daylight Time", tz.getDisplayName(true, TimeZone.LONG)); 102 assertEquals("Pacific Standard Time", tz.getDisplayName(false, TimeZone.LONG)); 107 assertEquals("Pacific Daylight Time", tz.getDisplayName(true, TimeZone.LONG, Locale.US)); 108 assertEquals("Pacific Standard Time", tz.getDisplayName(false, TimeZone.LONG, Locale.UK)); 110 tz.getDisplayName(true, TimeZone.LONG, Locale.FRANCE)); 112 tz.getDisplayName(false, TimeZone.LONG, Locale.FRANCE));
|
H A D | OldAndroidLocaleTest.java | 65 berlin.getDisplayName(false, TimeZone.LONG, eng)); 67 berlin.getDisplayName(true, TimeZone.LONG, eng)); 70 berlin.getDisplayName(false, TimeZone.LONG, deu)); 72 berlin.getDisplayName(true, TimeZone.LONG, deu));
|
H A D | TimeZoneTest.java | 235 String longDst = tz.getDisplayName(true, TimeZone.LONG, locale); 236 String longStd = tz.getDisplayName(false, TimeZone.LONG, locale); 308 // from what java.util.TimeZone uses. Force the LONG style to get equivalent results. 309 final int style = android.icu.util.TimeZone.LONG; 319 assertEquals("Apia Daylight Time", tz.getDisplayName(true, TimeZone.LONG, Locale.US)); 320 assertEquals("Apia Standard Time", tz.getDisplayName(false, TimeZone.LONG, Locale.US)); 395 assertEquals(canonical.getDisplayName(true, TimeZone.LONG, Locale.ENGLISH), 396 nonCanonical.getDisplayName(true, TimeZone.LONG, Locale.ENGLISH));
|
/libcore/luni/src/main/java/libcore/util/ |
H A D | EmptyArray.java | 28 public static final long[] LONG = new long[0]; field in class:EmptyArray
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | DateFormatTest.java | 110 f2 = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.LONG); 113 DateFormat.LONG, Locale.getDefault()))); 157 f2 = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.LONG, 217 testDateTime(DateFormat.SHORT, DateFormat.LONG); 222 testDateTime(DateFormat.MEDIUM, DateFormat.LONG); 225 testDateTime(DateFormat.LONG, DateFormat.SHORT); 226 testDateTime(DateFormat.LONG, DateFormat.MEDIUM); 227 testDateTime(DateFormat.LONG, DateFormat.LONG); 228 testDateTime(DateFormat.LONG, DateForma [all...] |
H A D | MessageFormatTest.java | 421 format.applyPattern("{0,time,LONG}"); 423 .equals(DateFormat.getTimeInstance(DateFormat.LONG))); 427 // same LONG and FULL time patterns 452 .equals(DateFormat.getDateInstance(DateFormat.LONG)));
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
H A D | TCKLocalizedPrinterParser.java | 130 {LocalDate.of(2012, 6, 30), FormatStyle.LONG, DateFormat.LONG, Locale.UK}, 131 {LocalDate.of(2012, 6, 30), FormatStyle.LONG, DateFormat.LONG, Locale.US}, 132 {LocalDate.of(2012, 6, 30), FormatStyle.LONG, DateFormat.LONG, Locale.FRANCE}, 133 {LocalDate.of(2012, 6, 30), FormatStyle.LONG, DateFormat.LONG, Locale.JAPAN}, 183 // {LocalTime.of(11, 30), FormatStyle.LONG, DateFormat.LONG, Local [all...] |
H A D | TCKFormatStyle.java | 98 {ZonedDateTime.of(LocalDateTime.of(2001, 10, 2, 1, 2, 3), ZONEID_PARIS), FormatStyle.LONG, "2 October 2001 at 01:02:03 CEST Europe/Paris"}, 103 {ZonedDateTime.of(LocalDateTime.of(2001, 10, 2, 1, 2, 3), OFFSET_PTWO), FormatStyle.LONG, "2 October 2001 at 01:02:03 +02:00 +02:00"},
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
H A D | DirectLongBufferTest.java | 69 assertEquals(longBufferBasePointer + SizeOf.LONG, NIOAccess.getBasePointer(longBuffer));
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | TimeZone.java | 146 * @see #LONG 157 public static final int LONG = 1; field in class:TimeZone 311 * getDisplayName(false, {@link #LONG}, 322 return getDisplayName(false, LONG, 332 * getDisplayName(false, {@link #LONG}, locale) 342 return getDisplayName(false, LONG, locale); 360 * @param style either {@link #LONG} or {@link #SHORT} 375 * Returns the {@link #SHORT short} or {@link #LONG long} name of this time 381 * @param style either {@link TimeZone#LONG} or {@link TimeZone#SHORT}. 393 case LONG [all...] |
H A D | Calendar.java | 712 * @see #LONG 725 * @see #LONG 739 public static final int LONG = 2; field in class:Calendar 815 public static final int LONG_STANDALONE = LONG | STANDALONE_MASK; 2046 * {@link #LONG_FORMAT} ({@link #LONG}), {@link #LONG_STANDALONE}, 2143 * {@link #LONG_FORMAT} ({@link #LONG}), {@link #LONG_STANDALONE}, 2185 // SHORT or LONG 2239 strings = (baseStyle == LONG) ? symbols.getMonths() : symbols.getShortMonths(); 2243 strings = (baseStyle == LONG) ? symbols.getWeekdays() : symbols.getShortWeekdays();
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
H A D | TestDateTimeFormatterBuilder.java | 909 {FormatStyle.LONG, FormatStyle.LONG, IsoChronology.INSTANCE, Locale.US, "MMMM d, y 'at' h:mm:ss a z"}, 913 {FormatStyle.LONG, null, IsoChronology.INSTANCE, Locale.US, "MMMM d, y"}, 917 {null, FormatStyle.LONG, IsoChronology.INSTANCE, Locale.US, "h:mm:ss a z"}, 923 {FormatStyle.LONG, FormatStyle.LONG, IsoChronology.INSTANCE, Locale.FRENCH, "d MMMM y 'à' HH:mm:ss z"}, 927 {FormatStyle.LONG, null, IsoChronology.INSTANCE, Locale.FRENCH, "d MMMM y"}, 931 {null, FormatStyle.LONG, IsoChronology.INSTANCE, Locale.FRENCH, "HH:mm:ss z"}, 937 {FormatStyle.LONG, FormatStyle.LONG, JapaneseChronolog [all...] |
H A D | TestZoneTextPrinterParser.java | 105 tz.getDisplayName(isDST, TimeZone.LONG, locale));
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | LocaleData.java | 165 case DateFormat.LONG: 187 case DateFormat.LONG:
|
H A D | TimeZoneNames.java | 137 return (style == TimeZone.LONG) ? row[LONG_NAME_DST] : row[SHORT_NAME_DST]; 139 return (style == TimeZone.LONG) ? row[LONG_NAME] : row[SHORT_NAME];
|
H A D | RelativeDateTimeFormatter.java | 124 style = android.icu.text.RelativeDateTimeFormatter.Style.LONG; 281 style = android.icu.text.RelativeDateTimeFormatter.Style.LONG;
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
H A D | MemoryTest.java | 76 int scale = SizeOf.LONG; 106 assertEquals(expectedValues[i], Memory.peekLong(ptr + SizeOf.LONG * i, swap));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | TimeZoneTest.java | 192 timezone.getDisplayName(false, TimeZone.LONG, Locale.CHINA)); 270 String actualName = defaultZone.getDisplayName(false, TimeZone.LONG); 271 String expectedName = defaultZone.getDisplayName(false, TimeZone.LONG,
|
H A D | SimpleTimeZoneTest.java | 172 TimeZone.LONG, 181 TimeZone.LONG, 184 TimeZone.LONG)); 188 TimeZone.LONG, 197 TimeZone.LONG, 200 TimeZone.LONG));
|
H A D | CalendarTest.java | 806 assertEquals(cal.getDisplayName(field, Calendar.LONG, 812 assertEquals(cal.getDisplayName(field, Calendar.LONG, 820 assertEquals(cal.getDisplayName(field, Calendar.LONG, 826 assertEquals(cal.getDisplayName(field, Calendar.LONG, 837 assertEquals(cal.getDisplayName(field, Calendar.LONG, 848 assertEquals(cal.getDisplayName(field, Calendar.LONG, 855 assertNull(cal.getDisplayName(field, Calendar.LONG, locale)); 869 cal.getDisplayName(Calendar.FIELD_COUNT, Calendar.LONG, Locale.US); 950 assertEquals(2, Calendar.LONG); 959 Calendar.LONG, local [all...] |
/libcore/ojluni/src/main/java/java/nio/ |
H A D | DirectByteBuffer.java | 657 return getLong(ix(nextGetIndex(SizeOf.LONG))); 665 return getLong(ix(checkIndex(i, SizeOf.LONG))); 698 putLong(ix(nextPutIndex(SizeOf.LONG)), x); 710 putLong(ix(checkIndex(i, SizeOf.LONG)), x);
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | DateFormat.java | 62 * styles. The formatting styles include {@link #FULL}, {@link #LONG}, {@link #MEDIUM}, and {@link #SHORT}. More 93 * DateFormat df = DateFormat.getDateInstance(DateFormat.LONG, Locale.FRANCE); 107 * result; from {@link #SHORT} to {@link #MEDIUM} to {@link #LONG} to {@link #FULL}. The exact result depends 111 * <li>{@link #LONG} is longer, such as {@code January 12, 1952} or {@code 3:30:32pm} 430 public static final int LONG = 1; field in class:DateFormat
|
H A D | SimpleDateFormat.java | 292 * Calendar#LONG long form} is used. Otherwise, a calendar 1181 int style = (count >= 4) ? Calendar.LONG : Calendar.SHORT; 1213 zeroPaddingNumber(value, style == Calendar.LONG ? 1 : count, 1294 int tzstyle = count < 4 ? TimeZone.SHORT : TimeZone.LONG; 2144 int style = (count >= 4) ? Calendar.LONG : Calendar.SHORT; 2492 int[] styles = { Calendar.LONG, Calendar.SHORT };
|