/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneBoundaryTest.java | 7 package com.ibm.icu.dev.test.timezone; 16 import com.ibm.icu.util.TimeZone; 138 TimeZone.getDefault()); 142 long expectedBoundary, TimeZone tz) 211 private static String showDate(long l, TimeZone z) 216 private static String showDate(Date d, TimeZone zone) 236 * Given a date, a TimeZone, and expected values for inDaylightTime, 239 void verifyDST(String tag, Calendar cal, TimeZone time_zone, 385 TimeZone save = TimeZone.getDefault() [all...] |
TimeZoneOffsetLocalTest.java | 7 package com.ibm.icu.dev.test.timezone; 21 import com.ibm.icu.util.TimeZone; 109 TimeZone utc = TimeZone.getTimeZone("UTC"); 113 // Set up TimeZone objects - OlsonTimeZone, SimpleTimeZone and RuleBasedTimeZone 116 TESTZONES[0] = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_ICU);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
DateTimeActivity.java | 42 import java.util.TimeZone; 93 TimeZone tz = now.getTimeZone(); 98 tz.getDisplayName(tz.inDaylightTime(date), TimeZone.LONG)); 168 final TimeZone currentTz = TimeZone.getDefault(); 331 * Formats the provided timezone offset into a string of the form GMT+XX:XX 360 // Update the system timezone value
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-dynload/ |
time.so | |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
CopticTest.java | 19 import com.ibm.icu.util.TimeZone; 245 // new CopticCalendar(TimeZone) 246 CopticCalendar cal = new CopticCalendar(TimeZone.getDefault()); 248 errln("could not create CopticCalendar with TimeZone"); 269 // new CopticCalendar(TimeZone, Locale) 270 CopticCalendar cal = new CopticCalendar(TimeZone.getDefault(),Locale.getDefault()); 272 errln("could not create CopticCalendar with TimeZone, Locale"); 277 // new CopticCalendar(TimeZone, ULocale) 278 CopticCalendar cal = new CopticCalendar(TimeZone.getDefault(),ULocale.getDefault()); 280 errln("could not create CopticCalendar with TimeZone, ULocale"); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatRegressionTest.java | 35 import com.ibm.icu.util.TimeZone; 300 TimeZone saveZone = TimeZone.getDefault(); 306 //TimeZone.setDefault(TimeZone.createTimeZone("EST")); 307 TimeZone.setDefault(TimeZone.getTimeZone("EST")); 344 TimeZone.setDefault(saveZone); 425 TimeZone def = TimeZone.getDefault() [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
ZipEntryTest.java | 23 import java.util.TimeZone; 342 TimeZone zone = TimeZone.getDefault(); 344 TimeZone.setDefault(TimeZone.getTimeZone("EST")); 348 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); 352 TimeZone.setDefault(TimeZone.getTimeZone("EST")); 363 TimeZone.setDefault(zone) [all...] |
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetModel.java | 34 import java.util.TimeZone; 251 public CalendarAppWidgetModel(Context context, String timeZone) { 253 Time time = new Time(timeZone); 263 public void buildFromCursor(Cursor cursor, String timeZone) { 264 final Time recycle = new Time(timeZone); 271 mShowTZ = !TextUtils.equals(timeZone, Time.getCurrentTimezone()); 273 mHomeTZName = TimeZone.getTimeZone(timeZone).getDisplayName(recycle.isDst != 0, 274 TimeZone.SHORT); 296 // Adjust all-day times into local timezone [all...] |
/prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.2.1/ |
commons-lang3-3.2.1.pom | 68 <timezone>0</timezone> 90 <timezone>-5</timezone> 105 <timezone>-5</timezone> 149 <timezone>+1</timezone> 155 <timezone>+1</timezone> [all...] |
/prebuilts/tools/common/m2/repository/org/eclipse/jetty/jetty-parent/20/ |
jetty-parent-20.pom | 114 <timezone>-6</timezone> 128 <timezone>-7</timezone> 135 <timezone>-8</timezone> 141 <timezone>-5</timezone> 149 <timezone>1</timezone> [all...] |
/external/icu/icu4c/source/test/intltest/ |
tzfmttst.cpp | 14 #include "unicode/timezone.h" 101 Calendar *cal = Calendar::createInstance(TimeZone::createTimeZone((UnicodeString)"UTC"), status); 149 StringEnumeration *tzids = TimeZone::createEnumeration(); 161 gmtFmt.setTimeZone(*TimeZone::getGMT()); 177 TimeZone *tz = TimeZone::createTimeZone(*tzid); 205 const TimeZone &outtz = outcal->getTimeZone(); 223 TimeZone::getCanonicalID(*tzid, canonicalID, status); 256 TimeZone::getCanonicalID(*tzid, canonical, status); 411 StringEnumeration *tzids = TimeZone::createTimeZoneIDEnumeration(UCAL_ZONE_TYPE_CANONICAL, NULL, NULL, status) [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
EditEventView.java | 103 import java.util.TimeZone; 420 private void setTimezone(String timeZone) { 421 mTimezone = timeZone; 422 mStartTime.timezone = mTimezone; 424 mEndTime.timezone = mTimezone; 601 b.putString(RecurrencePickerDialog.BUNDLE_TIME_ZONE, mStartTime.timezone); 721 // the timezone to UTC, as required for all-day events. 726 mStartTime.timezone = mTimezone; 732 mEndTime.timezone = mTimezone; 744 mStartTime.timezone = mTimezone [all...] |
/libcore/luni/src/main/java/java/util/ |
Date.java | 65 * Constructs a new {@code Date} initialized to midnight in the default {@code TimeZone} on 86 * default {@code TimeZone}. 110 * default {@code TimeZone}. 320 * Returns the timezone offset in minutes of the default {@code TimeZone}. 322 * @return the timezone offset in minutes of the default {@code TimeZone}. 676 TimeZone gmtZone = TimeZone.getTimeZone("GMT"); 697 * zone is used, all formatting and timezone names follow {@code Locale.US}. If you need contro [all...] |
SimpleTimeZone.java | 26 * {@code SimpleTimeZone} is a concrete subclass of {@code TimeZone} 37 * @see TimeZone 39 public class SimpleTimeZone extends TimeZone { 61 * based on timezone's raw offset from GMT; does not include Daylight 68 * mode, based on timezone's adjusted offset from GMT; includes 79 * and time zone ID. Timezone IDs can be obtained from 80 * {@code TimeZone.getAvailableIDs}. Normally you should use {@code TimeZone.getDefault} to 81 * construct a {@code TimeZone}. 87 * {@code TimeZone.getAvailableIDs} [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 32 import java.util.TimeZone; 90 String timeZone = "US/Pacific"; 92 Time time = new Time(timeZone); 93 assertEquals(timeZone, time.timezone); 95 assertEquals(anotherTimeZone, time.timezone); 114 assertEquals(time.timezone, anotherTime.timezone); 144 assertEquals(Time.TIMEZONE_UTC, anotherTime.timezone); 543 assertEquals(tz, t.timezone); 622 String timezone = "America\/New_York"; local 713 String timezone = "America\/New_York"; local 1364 String timezone = PstPdt.ID; local 2076 String timezone = PstPdt.ID; local 2471 String timezone = "Europe\/London"; local 2522 String timezone = "Europe\/London"; local 2573 String timezone = "Europe\/London"; local 2661 String timezone = "Pacific\/Kiritimati"; local [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/ |
GlobalizationPreferences.java | 34 * <li>A timezone</li> 58 * and the TZ Timezone database identifiers). 158 * for the appropriate territory, currency, timezone, etc. The 345 * currency and timezone values will be set from this. The user 441 * Sets the timezone ID. If this has not been set, uses default for territory. 443 * @param timezone a valid TZID (see UTS#35). 448 public GlobalizationPreferences setTimeZone(TimeZone timezone) { 452 this.timezone = (TimeZone) timezone.clone(); // clone for safety 1170 private TimeZone timezone; field in class:GlobalizationPreferences [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDatabaseHelper.java | 47 import java.util.TimeZone; 540 // timezone for event 567 // timezone for event with allDay events are in local timezone 607 // timezone for event 633 // timezone for event with allDay events are in local timezone 2534 String timezone; local [all...] |
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeFactory.java | [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarUtils.java | 196 * @param timeZone The time zone to set Calendar to, or 199 public void setTimeZone(Context context, String timeZone) { 200 if (TextUtils.isEmpty(timeZone)) { 208 if (CalendarCache.TIMEZONE_TYPE_AUTO.equals(timeZone)) { 214 if (!mUseHomeTZ || !TextUtils.equals(mHomeTZ, timeZone)) { 218 mHomeTZ = timeZone;
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
DeviceOwnerProvisioningService.java | 364 setTimeAndTimezone(params.timeZone, params.localTime); 374 private void setTimeAndTimezone(String timeZone, long localTime) { 377 if (timeZone != null) { 378 if (DEBUG) ProvisionLogger.logd("Setting time zone to " + timeZone); 379 am.setTimeZone(timeZone); 386 ProvisionLogger.loge("Alarm manager failed to set the system time/timezone.");
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
utils.py | 139 returns a date relative to the local timezone instead of UTC, properly 142 Optional argument usegmt means that the timezone is written out as 152 # Calculate timezone offset, based on whether the local zone has 157 offset = time.timezone 159 # Remember offset is in seconds west of UTC, but the timezone is in 168 # Timezone offset is always -0000
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
utils.py | 139 returns a date relative to the local timezone instead of UTC, properly 142 Optional argument usegmt means that the timezone is written out as 152 # Calculate timezone offset, based on whether the local zone has 157 offset = time.timezone 159 # Remember offset is in seconds west of UTC, but the timezone is in 168 # Timezone offset is always -0000
|
/prebuilts/tools/common/m2/repository/commons-codec/commons-codec/1.6/ |
commons-codec-1.6.pom | 64 <timezone>-6</timezone>
91 <timezone>-5</timezone>
103 <timezone>-8</timezone>
|
/prebuilts/tools/common/m2/repository/commons-codec/commons-codec/1.9/ |
commons-codec-1.9.pom | 69 <timezone>-6</timezone>
96 <timezone>-5</timezone>
108 <timezone>-8</timezone>
|
/prebuilts/tools/common/m2/repository/commons-lang/commons-lang/2.4/ |
commons-lang-2.4.pom | 68 <timezone>0</timezone> 90 <timezone>-5</timezone> 106 <timezone>-8</timezone>
|