/external/v8/test/mjsunit/regress/ |
D | regress-crbug-364374.js | 11 assertEquals('Europe/Isle_of_Man', df.resolvedOptions().timeZone); 14 assertEquals('Africa/Dar_es_Salaam', df.resolvedOptions().timeZone); 17 assertEquals('America/Port_of_Spain', df.resolvedOptions().timeZone); 21 assertEquals('America/North_Dakota/New_Salem', df.resolvedOptions().timeZone); 27 assertEquals(df1.resolvedOptions().timeZone, df2.resolvedOptions().timeZone); 30 assertEquals(df1.resolvedOptions().timeZone, df2.resolvedOptions().timeZone); 34 assertEquals(df1.resolvedOptions().timeZone, df2.resolvedOptions().timeZone); 43 assertEquals('America/Port-au-Prince', df.resolvedOptions().timeZone); 48 assertEquals(df1.resolvedOptions().timeZone, df2.resolvedOptions().timeZone); 51 assertThrows(() => Intl.DateTimeFormat(undefined, {timeZone: 'Europe/_Paris'})); property [all …]
|
D | regress-crbug-487322.js | 13 assertEquals(df1.resolvedOptions().timeZone, df2.resolvedOptions().timeZone); 18 assertEquals('Asia/Ulaanbaatar', df.resolvedOptions().timeZone); 21 assertEquals('Asia/Ulaanbaatar', df.resolvedOptions().timeZone); 24 assertThrows(() => Intl.DateTimeFormat(undefined, {timeZone: 'Aurope/Paris'})); property
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
D | TimeZone.java | 102 public final java.util.TimeZone timeZone; field in TimeZone 109 this.timeZone = delegate; in TimeZone() 126 this.timeZone = java.util.TimeZone.getDefault(); in TimeZone() 261 return timeZone.getOffset(era, year, month, day, dayOfWeek, milliseconds); in getOffset() 280 return timeZone.getOffset(date); in getOffset() 318 timeZone.setRawOffset(offsetMillis); in setRawOffset() 328 return timeZone.getRawOffset(); in getRawOffset() 337 return timeZone.getID(); in getID() 350 timeZone.setID(ID); in setID() 363 return timeZone.getDisplayName(ULocale.getDefault(Category.DISPLAY).toLocale()); in getDisplayName() [all …]
|
D | Calendar.java | 1201 calendar = java.util.Calendar.getInstance(zone.timeZone, locale.toLocale()); in Calendar() 1222 …return new Calendar(java.util.Calendar.getInstance(zone.timeZone, ULocale.getDefault(Category.FORM… in getInstance() 1256 return new Calendar(java.util.Calendar.getInstance(zone.timeZone, aLocale)); in getInstance() 1268 return new Calendar(java.util.Calendar.getInstance(zone.timeZone, locale.toLocale())); in getInstance() 2017 calendar.setTimeZone(value.timeZone); in setTimeZone()
|
/external/v8/test/intl/date-format/ |
D | timezone.js | 34 df = Intl.DateTimeFormat(undefined, {timeZone: 'UtC'}); property 35 assertEquals('UTC', df.resolvedOptions().timeZone); 37 df = Intl.DateTimeFormat(undefined, {timeZone: 'gmt'}); property 38 assertEquals('UTC', df.resolvedOptions().timeZone); 40 df = Intl.DateTimeFormat(undefined, {timeZone: 'America/Los_Angeles'}); property 41 assertEquals('America/Los_Angeles', df.resolvedOptions().timeZone); 43 df = Intl.DateTimeFormat(undefined, {timeZone: 'Europe/Belgrade'}); property 44 assertEquals('Europe/Belgrade', df.resolvedOptions().timeZone); 47 df = Intl.DateTimeFormat(undefined, {timeZone: 'Etc/UTC'}); property 48 assertEquals('UTC', df.resolvedOptions().timeZone); [all …]
|
D | format-test.js | 30 var dtf = new Intl.DateTimeFormat('en-US', {timeZone: 'UTC'}); property
|
D | parse-MMMdy.js | 34 timeZone: 'America/Los_Angeles'}); property
|
D | timezone-name.js | 40 timeZone: 'America/Los_Angeles' property
|
D | parse-mdy.js | 36 var dtf = new Intl.DateTimeFormat(['en'], {timeZone: 'America/Los_Angeles'}); property
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
D | BasicDurationFormatterFactory.java | 30 private TimeZone timeZone; field in BasicDurationFormatterFactory 39 this.timeZone = TimeZone.getDefault(); in BasicDurationFormatterFactory() 134 public DurationFormatterFactory setTimeZone(TimeZone timeZone) { in setTimeZone() argument 135 if (!timeZone.equals(this.timeZone)) { in setTimeZone() 136 this.timeZone = timeZone; in setTimeZone() 138 builder = builder.withTimeZone(timeZone); in setTimeZone() 153 fallback = fallback.withLocale(localeName).withTimeZone(timeZone); in getFormatter() 186 .setTimeZone(timeZone) in getPeriodBuilder() 226 return timeZone; in getTimeZone() 235 timeZone); in createFormatter()
|
D | BasicDurationFormatter.java | 22 private TimeZone timeZone; field in BasicDurationFormatter 44 TimeZone timeZone) { 50 this.timeZone = timeZone; 81 locName, timeZone); 87 if (!tz.equals(timeZone)) {
|
D | DurationFormatterFactory.java | 71 public DurationFormatterFactory setTimeZone(TimeZone timeZone); in setTimeZone() argument
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
D | BasicDurationFormatterFactory.java | 31 private TimeZone timeZone; field in BasicDurationFormatterFactory 40 this.timeZone = TimeZone.getDefault(); in BasicDurationFormatterFactory() 135 public DurationFormatterFactory setTimeZone(TimeZone timeZone) { in setTimeZone() argument 136 if (!timeZone.equals(this.timeZone)) { in setTimeZone() 137 this.timeZone = timeZone; in setTimeZone() 139 builder = builder.withTimeZone(timeZone); in setTimeZone() 154 fallback = fallback.withLocale(localeName).withTimeZone(timeZone); in getFormatter() 187 .setTimeZone(timeZone) in getPeriodBuilder() 227 return timeZone; in getTimeZone() 236 timeZone); in createFormatter()
|
D | BasicDurationFormatter.java | 23 private TimeZone timeZone; field in BasicDurationFormatter 45 TimeZone timeZone) { 51 this.timeZone = timeZone; 82 locName, timeZone); 88 if (!tz.equals(timeZone)) {
|
D | DurationFormatterFactory.java | 73 public DurationFormatterFactory setTimeZone(TimeZone timeZone); in setTimeZone() argument
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/ |
D | YMDDateFormatter.java | 25 private TimeZone timeZone; field in YMDDateFormatter 49 TimeZone timeZone) { in YMDDateFormatter() argument 52 this.timeZone = timeZone; in YMDDateFormatter() 56 this.df.setTimeZone(timeZone); in YMDDateFormatter() 86 return new YMDDateFormatter(requestedFields, locName, timeZone); in withLocale() 95 if (!tz.equals(timeZone)) { in withTimeZone()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
D | YMDDateFormatter.java | 23 private TimeZone timeZone; field in YMDDateFormatter 47 TimeZone timeZone) { in YMDDateFormatter() argument 50 this.timeZone = timeZone; in YMDDateFormatter() 54 this.df.setTimeZone(timeZone); in YMDDateFormatter() 84 return new YMDDateFormatter(requestedFields, locName, timeZone); in withLocale() 93 if (!tz.equals(timeZone)) { in withTimeZone()
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | XMPDateTimeImpl.java | 44 private TimeZone timeZone = TimeZone.getTimeZone("UTC"); field in XMPDateTimeImpl 87 this.timeZone = intCalendar.getTimeZone(); in XMPDateTimeImpl() 98 public XMPDateTimeImpl(Date date, TimeZone timeZone) in XMPDateTimeImpl() argument 100 GregorianCalendar calendar = new GregorianCalendar(timeZone); in XMPDateTimeImpl() 109 this.timeZone = timeZone; in XMPDateTimeImpl() 298 return timeZone; in getTimeZone() 305 public void setTimeZone(TimeZone timeZone) in setTimeZone() argument 307 this.timeZone = timeZone; in setTimeZone() 318 calendar.setTimeZone(timeZone); in getCalendar()
|
/external/jsilver/src/org/clearsilver/jni/ |
D | JniHdf.java | 214 public void exportDate(String hdfname, TimeZone timeZone, Date date) { in exportDate() argument 219 Calendar cal = Calendar.getInstance(timeZone); in exportDate() 252 boolean tzNegative = timeZone.getRawOffset() < 0; in exportDate() 253 int tzAbsolute = java.lang.Math.abs(timeZone.getRawOffset()/1000); in exportDate() 268 TimeZone timeZone = TimeZone.getTimeZone(tz); 270 if (timeZone == null) { 276 exportDate(hdfname, timeZone, date);
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/ |
D | DumperOptions.java | 172 private TimeZone timeZone = null; field in DumperOptions 386 return timeZone; in getTimeZone() 393 public void setTimeZone(TimeZone timeZone) { in setTimeZone() argument 394 this.timeZone = timeZone; in setTimeZone()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | ASN1GeneralizedTime.java | 217 TimeZone timeZone = TimeZone.getDefault(); in calculateGMTOffset() local 218 int offset = timeZone.getRawOffset(); in calculateGMTOffset() 229 if (timeZone.useDaylightTime() && timeZone.inDaylightTime(this.getDate())) in calculateGMTOffset()
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/ |
D | SafeRepresenter.java | 46 protected TimeZone timeZone = null; field in SafeRepresenter 331 : timeZone); in representData() 414 return timeZone; 417 public void setTimeZone(TimeZone timeZone) { 418 this.timeZone = timeZone;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue49/ |
D | CalendarTest.java | 81 private void check(long time, String timeZone, String warning, String etalon) { in check() argument 86 cal.setTimeZone(TimeZone.getTimeZone(timeZone)); in check()
|
/external/jsilver/src/org/clearsilver/ |
D | DelegatedHdf.java | 123 String hdfname, TimeZone timeZone, Date date) { in exportDate() argument 124 getHdf().exportDate(hdfname, timeZone, date); in exportDate()
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | TimeTest.java | 97 private void testToString(String timeZone, long[] theTimes, in testToString() argument 100 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString()
|