Home
last modified time | relevance | path

Searched refs:timeZone (Results 1 – 25 of 37) sorted by relevance

12

/external/v8/test/intl/date-format/
Dtimezone.js31 assertEquals(getDefaultTimeZone(), df.resolvedOptions().timeZone);
33 df = Intl.DateTimeFormat(undefined, {timeZone: 'UtC'}); property
34 assertEquals('UTC', df.resolvedOptions().timeZone);
36 df = Intl.DateTimeFormat(undefined, {timeZone: 'gmt'}); property
37 assertEquals('UTC', df.resolvedOptions().timeZone);
39 df = Intl.DateTimeFormat(undefined, {timeZone: 'America/Los_Angeles'}); property
40 assertEquals('America/Los_Angeles', df.resolvedOptions().timeZone);
42 df = Intl.DateTimeFormat(undefined, {timeZone: 'Europe/Belgrade'}); property
43 assertEquals('Europe/Belgrade', df.resolvedOptions().timeZone);
46 df = Intl.DateTimeFormat(undefined, {timeZone: 'Etc/UTC'}); property
[all …]
Dresolved-options.js41 assertEquals(getDefaultTimeZone(), resolved.timeZone);
87 second: 'numeric', timeZoneName: 'short', timeZone: 'UTC'}); property
Dformat-test.js30 var dtf = new Intl.DateTimeFormat('en-US', {timeZone: 'UTC'}); property
Dparse-MMMdy.js34 timeZone: 'America/Los_Angeles'}); property
Dtimezone-name.js40 timeZone: 'America/Los_Angeles' property
Dparse-mdy.js36 var dtf = new Intl.DateTimeFormat(['en'], {timeZone: 'America/Los_Angeles'}); property
Dparse-mdyhms.js34 timeZone: 'UTC'}); property
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicDurationFormatterFactory.java30 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()
DBasicDurationFormatter.java22 private TimeZone timeZone; field in BasicDurationFormatter
44 TimeZone timeZone) {
50 this.timeZone = timeZone;
81 locName, timeZone);
87 if (!tz.equals(timeZone)) {
DDurationFormatterFactory.java71 public DurationFormatterFactory setTimeZone(TimeZone timeZone); in setTimeZone() argument
DPeriodBuilderFactory.java93 PeriodBuilderFactory setTimeZone(TimeZone timeZone); in setTimeZone() argument
DBasicPeriodBuilderFactory.java249 public PeriodBuilderFactory setTimeZone(TimeZone timeZone) { in setTimeZone() argument
333 public PeriodBuilder withTimeZone(TimeZone timeZone) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
DYMDDateFormatter.java23 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/
DXMPDateTimeImpl.java44 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/
DJniHdf.java214 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1GeneralizedTime.java208 TimeZone timeZone = TimeZone.getDefault(); in calculateGMTOffset() local
209 int offset = timeZone.getRawOffset(); in calculateGMTOffset()
220 if (timeZone.useDaylightTime() && timeZone.inDaylightTime(this.getDate())) in calculateGMTOffset()
/external/jsilver/src/org/clearsilver/
DDelegatedHdf.java123 String hdfname, TimeZone timeZone, Date date) { in exportDate() argument
124 getHdf().exportDate(hdfname, timeZone, date); in exportDate()
DHDF.java99 void exportDate(String hdfName, TimeZone timeZone, Date date); in exportDate() argument
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTimeTest.java97 private void testToString(String timeZone, long[] theTimes, in testToString() argument
100 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString()
DDateTest.java243 private void testToString(String timeZone, long[] theDates, String[] theDateStrings) { in testToString() argument
245 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString()
DTimestampTest.java427 private void testToString(String timeZone, long[] theTimeStamps, String[] theTimeStampStrings) { in testToString() argument
428 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in testToString()
/external/v8/src/
Di18n.js1515 var tz = canonicalizeTimeZoneID(options.timeZone);
1538 timeZone: {writable: true}, property
1546 requestedLocale, {skeleton: ldmlString, timeZone: tz}, resolved); property
1548 if (tz !== undefined && tz !== resolved.timeZone) {
1609 timeZone: format.resolved.timeZone property
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowTime.java393 public void setTimeZone(TimeZone timeZone) { in setTimeZone() argument
394 simpleDateFormat.setTimeZone(timeZone); in setTimeZone()
/external/owasp/sanitizer/tools/findbugs/lib/
Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/clang/test/ARCMT/
Dobjcmt-instancetype-2.m74 …ur:(NSUInteger)hour minute:(NSUInteger)minute second:(NSUInteger)second timeZone:(NSTimeZone *)aTi…

12