Home
last modified time | relevance | path

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

12

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DTimeZone.java104 public final java.util.TimeZone timeZone; field in TimeZone
111 this.timeZone = delegate; in TimeZone()
128 this.timeZone = java.util.TimeZone.getDefault(); in TimeZone()
263 return timeZone.getOffset(era, year, month, day, dayOfWeek, milliseconds); in getOffset()
282 return timeZone.getOffset(date); in getOffset()
320 timeZone.setRawOffset(offsetMillis); in setRawOffset()
330 return timeZone.getRawOffset(); in getRawOffset()
339 return timeZone.getID(); in getID()
352 timeZone.setID(ID); in setID()
365 return timeZone.getDisplayName(ULocale.getDefault(Category.DISPLAY).toLocale()); in getDisplayName()
[all …]
DCalendar.java1203 calendar = java.util.Calendar.getInstance(zone.timeZone, locale.toLocale()); in Calendar()
1224 …return new Calendar(java.util.Calendar.getInstance(zone.timeZone, ULocale.getDefault(Category.FORM… in getInstance()
1258 return new Calendar(java.util.Calendar.getInstance(zone.timeZone, aLocale)); in getInstance()
1270 return new Calendar(java.util.Calendar.getInstance(zone.timeZone, locale.toLocale())); in getInstance()
2019 calendar.setTimeZone(value.timeZone); in setTimeZone()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicDurationFormatterFactory.java32 private TimeZone timeZone; field in BasicDurationFormatterFactory
41 this.timeZone = TimeZone.getDefault(); in BasicDurationFormatterFactory()
142 public DurationFormatterFactory setTimeZone(TimeZone timeZone) { in setTimeZone() argument
143 if (!timeZone.equals(this.timeZone)) { in setTimeZone()
144 this.timeZone = timeZone; in setTimeZone()
146 builder = builder.withTimeZone(timeZone); in setTimeZone()
162 fallback = fallback.withLocale(localeName).withTimeZone(timeZone); in getFormatter()
195 .setTimeZone(timeZone) in getPeriodBuilder()
235 return timeZone; in getTimeZone()
244 timeZone); in createFormatter()
DBasicDurationFormatter.java24 private TimeZone timeZone; field in BasicDurationFormatter
46 TimeZone timeZone) {
52 this.timeZone = timeZone;
87 locName, timeZone);
94 if (!tz.equals(timeZone)) {
DDurationFormatterFactory.java73 public DurationFormatterFactory setTimeZone(TimeZone timeZone); in setTimeZone() argument
DPeriodBuilderFactory.java95 PeriodBuilderFactory setTimeZone(TimeZone timeZone); in setTimeZone() argument
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DBasicDurationFormatterFactory.java33 private TimeZone timeZone; field in BasicDurationFormatterFactory
42 this.timeZone = TimeZone.getDefault(); in BasicDurationFormatterFactory()
143 public DurationFormatterFactory setTimeZone(TimeZone timeZone) { in setTimeZone() argument
144 if (!timeZone.equals(this.timeZone)) { in setTimeZone()
145 this.timeZone = timeZone; in setTimeZone()
147 builder = builder.withTimeZone(timeZone); in setTimeZone()
163 fallback = fallback.withLocale(localeName).withTimeZone(timeZone); in getFormatter()
196 .setTimeZone(timeZone) in getPeriodBuilder()
236 return timeZone; in getTimeZone()
245 timeZone); in createFormatter()
DBasicDurationFormatter.java25 private TimeZone timeZone; field in BasicDurationFormatter
47 TimeZone timeZone) {
53 this.timeZone = timeZone;
88 locName, timeZone);
95 if (!tz.equals(timeZone)) {
DDurationFormatterFactory.java75 public DurationFormatterFactory setTimeZone(TimeZone timeZone); in setTimeZone() argument
DPeriodBuilderFactory.java97 PeriodBuilderFactory setTimeZone(TimeZone timeZone); in setTimeZone() argument
/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/snakeyaml/src/main/java/org/yaml/snakeyaml/
DDumperOptions.java172 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/
DASN1GeneralizedTime.java240 TimeZone timeZone = TimeZone.getDefault(); in calculateGMTOffset() local
241 int offset = timeZone.getRawOffset(); in calculateGMTOffset()
252 if (timeZone.useDaylightTime() && timeZone.inDaylightTime(this.getDate())) in calculateGMTOffset()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DASN1GeneralizedTime.java242 TimeZone timeZone = TimeZone.getDefault(); in calculateGMTOffset() local
243 int offset = timeZone.getRawOffset(); in calculateGMTOffset()
254 if (timeZone.useDaylightTime() && timeZone.inDaylightTime(this.getDate())) in calculateGMTOffset()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
DSafeRepresenter.java46 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/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DStrftime.java31 TimeZone timeZone) { in format() argument
37 if (timeZone != null) { in format()
38 formatter.setTimeZone(timeZone); in format()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue49/
DCalendarTest.java81 private void check(long time, String timeZone, String warning, String etalon) { in check() argument
86 cal.setTimeZone(TimeZone.getTimeZone(timeZone)); in check()
/external/cldr/tools/java/org/unicode/cldr/util/
DTimezoneFormatter.java215 BasicTimeZone timeZone = (BasicTimeZone) TimeZone.getTimeZone(zoneid); in getFormattedZone() local
216 int gmtOffset1 = timeZone.getOffset(date); in getFormattedZone()
219 boolean noTimezoneChangeWithin184Days = noTimezoneChangeWithin184Days(timeZone, date); in getFormattedZone()
220 boolean daylight = gmtOffset1 != timeZone.getRawOffset(); in getFormattedZone()
464 public boolean noTimezoneChangeWithin184Days(BasicTimeZone timeZone, long date) {
466 TimeZoneTransition startTransition = timeZone.getPreviousTransition(date, true);
474 TimeZoneTransition nextTransition = timeZone.getNextTransition(date, false);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAlarmManager.java42 protected void setTimeZone(String timeZone) { in setTimeZone() argument
44 Shadow.directlyOn(realObject, AlarmManager.class).setTimeZone(timeZone); in setTimeZone()
46 TimeZone.setDefault(TimeZone.getTimeZone(timeZone)); in setTimeZone()
/external/jsilver/src/org/clearsilver/
DDelegatedHdf.java123 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/
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()
/external/v8/src/js/
Dintl.js1101 var tz = canonicalizeTimeZoneID(options.timeZone);
1135 timeZone: {writable: true}, property
1144 {__proto__: null, skeleton: ldmlString, timeZone: tz}, resolved); property
1146 if (resolved.timeZone === "Etc/Unknown") {
1207 timeZone: format[resolvedSymbol].timeZone property
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/
DSafeConstructor.java351 TimeZone timeZone; in construct() local
354 timeZone = TimeZone.getTimeZone("GMT" + timezoneh_s + time); in construct()
357 timeZone = TimeZone.getTimeZone("UTC"); in construct()
359 calendar = Calendar.getInstance(timeZone); in construct()

12