/cts/tests/tests/permission/src/android/permission/cts/ |
NoSystemFunctionPermissionTest.java | 31 import java.util.TimeZone; 66 String[] timeZones = TimeZone.getAvailableIDs(); 67 String timeZone = timeZones[0]; 70 alarmManager.setTimeZone(timeZone);
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
DERGeneralizedTime.java | 8 import java.util.TimeZone; 172 TimeZone timeZone = TimeZone.getDefault(); 173 int offset = timeZone.getRawOffset(); 184 if (timeZone.useDaylightTime() && timeZone.inDaylightTime(this.getDate())) 251 dateF.setTimeZone(new SimpleTimeZone(0, TimeZone.getDefault().getID()));
|
/external/webkit/Source/JavaScriptCore/wtf/ |
DateMath.h | 161 timeZone = adoptArrayPtr(new char[inZoneSize]); 162 strncpy(timeZone.get(), inTm.tm_zone, inZoneSize); 164 timeZone = nullptr; 187 ret.tm_zone = timeZone.get(); 205 if (rhs.timeZone) { 206 int inZoneSize = strlen(rhs.timeZone.get()) + 1; 207 timeZone = adoptArrayPtr(new char[inZoneSize]); 208 strncpy(timeZone.get(), rhs.timeZone.get(), inZoneSize); 210 timeZone = nullptr [all...] |
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 28 import java.util.TimeZone;
40 private final int timeZone;
42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) {
44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
50 this.timeZone = timeZone;
69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) {
70 Calendar c = new GregorianCalendar(TimeZone.getTimeZone("GMT+0"));
74 if (timeZone != Integer.MIN_VALUE) {
75 int minutes = ((timeZone / 100) * 60) + timeZone % 100; [all...] |
/development/samples/GlobalTime/src/com/android/globaltime/ |
City.java | 27 import java.util.TimeZone; 40 private TimeZone timeZone = null; 126 TimeZone tz1 = c1.getTimeZone(); 127 TimeZone tz2 = c2.getTimeZone(); 188 public TimeZone getTimeZone() { 189 if (timeZone == null) { 190 timeZone = TimeZone.getTimeZone(timeZoneID); 192 return timeZone; [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
TimeZoneTest.java | 22 import java.util.TimeZone; 28 TimeZone asiaTaipei = TimeZone.getTimeZone("Asia/Taipei"); 34 TimeZone atlanticReykjavik = TimeZone.getTimeZone("Atlantic/Reykjavik"); 48 TimeZone tz0001 = new SimpleTimeZone(60000, "ONE MINUTE"); 49 TimeZone tz0130 = new SimpleTimeZone(5400000, "ONE HOUR, THIRTY"); 50 TimeZone tzMinus0130 = new SimpleTimeZone(-5400000, "NEG ONE HOUR, THIRTY"); 51 assertEquals("GMT+00:01", tz0001.getDisplayName(false, TimeZone.SHORT, Locale.US)); 52 assertEquals("GMT+01:30", tz0130.getDisplayName(false, TimeZone.SHORT, Locale.US)) [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
CalendarUtilitiesTests.java | 50 import java.util.TimeZone; 88 // Test a timezone with GMT bias but bogus DST parameters (there is no equivalent time zone 136 TimeZone tz = CalendarUtilities.tziStringToTimeZone(AMERICA_DAWSON_TIME); 157 TimeZone.setDefault(TimeZone.getTimeZone("America/Phoenix")); 160 TimeZone.setDefault(TimeZone.getTimeZone("Pacific/Honolulu")); 165 TimeZone azTime = TimeZone.getTimeZone("America/Phoenix"); 166 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")) [all...] |
/frameworks/base/media/java/android/media/ |
Metadata.java | 28 import java.util.TimeZone; 487 final String timeZone = mParcel.readString(); 489 if (timeZone.length() == 0) { 492 TimeZone tz = TimeZone.getTimeZone(timeZone);
|
/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 109 * String[] ids = TimeZone.getAvailableIDs(-8 * 60 * 60 * 1000); 182 * @see TimeZone 236 * time with the default {@code Locale} and {@code TimeZone}. 239 this(TimeZone.getDefault(), Locale.getDefault()); 244 * {@code TimeZone} and {@code Locale} on the specified date. 254 super(TimeZone.getDefault(), Locale.getDefault()); 260 * time in the default {@code TimeZone} and {@code Locale}. 274 super(TimeZone.getDefault(), Locale.getDefault()); 280 * time in the default {@code TimeZone} and {@code Locale}. 297 super(TimeZone.getDefault(), Locale.getDefault()) [all...] |
Formatter.java | [all...] |
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
GrassRS.java | 40 import java.util.TimeZone; 157 mScript.setTimeZone(TimeZone.getDefault().getID()); 340 final String timeZone = Time.getCurrentTimezone(); 341 final SunCalculator calculator = new SunCalculator(location, timeZone);
|
/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 20 import java.util.TimeZone; 105 String timeZone = "US/Pacific"; 107 Time time = new Time(timeZone); 108 assertEquals(timeZone, time.timezone); 110 assertEquals(anotherTimeZone, time.timezone); 141 assertEquals(time.timezone, anotherTime.timezone); 193 assertEquals(Time.TIMEZONE_UTC, anotherTime.timezone); 486 final String timeZone = "America/Los_Angeles" [all...] |
/external/icu4c/test/intltest/ |
dtfmrgts.cpp | 13 #include "unicode/timezone.h" 430 TimeZone *saveZone = TimeZone::createDefault(); 438 //TimeZone::setDefault(TimeZone::createTimeZone("EST")); 439 TimeZone::adoptDefault(TimeZone::createTimeZone("EST")); 486 TimeZone::setDefault(*saveZone); 604 TimeZone *def = TimeZone::createDefault() [all...] |
/external/webkit/Source/WebKit/win/ |
WebHistory.cpp | 857 RetainPtr<CFTimeZoneRef> timeZone(AdoptCF, CFTimeZoneCopyDefault()); 858 CFGregorianDate date = CFAbsoluteTimeGetGregorianDate(day, timeZone.get()); 862 beginningOfDay = CFGregorianDateGetAbsoluteTime(date, timeZone.get()); 864 beginningOfNextDay = CFGregorianDateGetAbsoluteTime(date, timeZone.get()); 958 CFTimeZoneRef timeZone = CFTimeZoneCopySystem(); 959 CFGregorianDate date = CFAbsoluteTimeGetGregorianDate(time, timeZone); 962 CFAbsoluteTime timeInDays = CFGregorianDateGetAbsoluteTime(date, timeZone); [all...] |
/external/quake/quake/src/WinQuake/ |
net_bw.cpp | 206 short timeZone;
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
CalendarSyncAdapter.java | 66 import java.util.TimeZone; 139 private static final TimeZone UTC_TIMEZONE = TimeZone.getTimeZone("UTC"); 140 private final TimeZone mLocalTimeZone = TimeZone.getDefault(); 419 TimeZone timeZone = null; 477 if (allDayEvent != 0 && timeZone != null) { 482 userLog("All-day event arrived in: " + timeZone.getID()); 505 timeZone = CalendarUtilities.tziStringToTimeZone(getValue()) [all...] |
/packages/apps/Exchange/src/com/android/exchange/utility/ |
CalendarUtilities.java | 64 import java.util.TimeZone; 125 // TimeZone cache; we parse/decode as little as possible, because the process is quite slow 126 private static HashMap<String, TimeZone> sTimeZoneCache = new HashMap<String, TimeZone>(); 128 private static HashMap<TimeZone, String> sTziStringCache = new HashMap<TimeZone, String>(); 130 private static final TimeZone UTC_TIMEZONE = TimeZone.getTimeZone("UTC"); 161 static final TimeZone sGmtTimeZone = TimeZone.getTimeZone("GMT") [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
CalendarTest.java | 439 String timeZone = values.getAsString(Events.EVENT_TIMEZONE); 440 Time time = new Time(timeZone); [all...] |
/prebuilt/sdk/11/ |
android.jar | |
/prebuilt/common/jfreechart/ |
jfreechart-1.0.9.jar | |
/prebuilt/sdk/9/ |
android.jar | |
/prebuilt/sdk/10/ |
android.jar | |
/prebuilt/sdk/12/ |
android.jar | |
/prebuilt/sdk/13/ |
android.jar | |
/prebuilt/sdk/14/ |
android.jar | |