/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
ScriptCThunker.java | 82 void thunkSetTimeZone(String timeZone) { 84 setTimeZone(timeZone);
|
/libcore/luni/src/test/java/libcore/java/util/ |
CalendarTest.java | 22 import java.util.TimeZone; 27 private static final TimeZone AMERICA_SAO_PAULO = TimeZone.getTimeZone("America/Sao_Paulo"); 30 private static final TimeZone AUSTRALIA_LORD_HOWE = TimeZone.getTimeZone("Australia/Lord_Howe"); 34 * TimeZone.useDaylightTime() as an optimization will probably be broken 37 private static final TimeZone ASIA_KUALA_LUMPUR = TimeZone.getTimeZone("Asia/Kuala_Lumpur"); 39 private static final TimeZone ASIA_SEOUL = TimeZone.getTimeZone("Asia/Seoul") [all...] |
TimeZoneTest.java | 24 import java.util.TimeZone; 30 TimeZone asiaTaipei = TimeZone.getTimeZone("Asia/Taipei"); 36 TimeZone atlanticReykjavik = TimeZone.getTimeZone("Atlantic/Reykjavik"); 50 TimeZone tz0001 = new SimpleTimeZone(60000, "ONE MINUTE"); 51 TimeZone tz0130 = new SimpleTimeZone(5400000, "ONE HOUR, THIRTY"); 52 TimeZone tzMinus0130 = new SimpleTimeZone(-5400000, "NEG ONE HOUR, THIRTY"); 53 assertEquals("GMT+00:01", tz0001.getDisplayName(false, TimeZone.SHORT, Locale.US)); 54 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 143 TimeZone tz = CalendarUtilities.tziStringToTimeZone(AMERICA_DAWSON_TIME); 167 TimeZone.setDefault(TimeZone.getTimeZone("America/Phoenix")); 170 TimeZone.setDefault(TimeZone.getTimeZone("Pacific/Honolulu")); 175 TimeZone azTime = TimeZone.getTimeZone("America/Phoenix"); 176 TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles")) [all...] |
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetService.java | 414 Context context, Cursor cursor, String timeZone) { 415 CalendarAppWidgetModel model = new CalendarAppWidgetModel(context, timeZone); 416 model.buildFromCursor(cursor, timeZone); 423 private long calculateUpdateTime(CalendarAppWidgetModel model, long now, String timeZone) { 425 long minUpdateTime = getNextMidnightTimeMillis(timeZone); 442 private static long getNextMidnightTimeMillis(String timezone) { 451 time.timezone = timezone;
|
/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 109 * String[] ids = TimeZone.getAvailableIDs(-8 * 60 * 60 * 1000); 182 * @see TimeZone 228 * time with the default {@code Locale} and {@code TimeZone}. 231 this(TimeZone.getDefault(), Locale.getDefault()); 236 * {@code TimeZone} and {@code Locale} on the specified date. 246 super(TimeZone.getDefault(), Locale.getDefault()); 252 * time in the default {@code TimeZone} and {@code Locale}. 266 super(TimeZone.getDefault(), Locale.getDefault()); 272 * time in the default {@code TimeZone} and {@code Locale}. 289 super(TimeZone.getDefault(), Locale.getDefault()) [all...] |
/external/chromium_org/v8/test/intl/date-format/ |
format-test.js | 30 var dtf = new Intl.DateTimeFormat('en-US', {timeZone: 'UTC'});
|
parse-MMMdy.js | 34 timeZone: 'America/Los_Angeles'});
|
parse-mdy.js | 36 var dtf = new Intl.DateTimeFormat(['en'], {timeZone: 'America/Los_Angeles'});
|
parse-mdyhms.js | 34 timeZone: 'UTC'});
|
timezone-name.js | 40 timeZone: 'America/Los_Angeles'
|
property-override.js | 59 'second', 'timeZone', 'timeZoneName', 'weekday', 'year'
|
/frameworks/base/graphics/java/android/renderscript/ |
Script.java | 286 public void setTimeZone(String timeZone) { 289 mRS.nScriptSetTimeZone(getID(mRS), timeZone.getBytes("UTF-8"));
|
/frameworks/rs/ |
rsScript.cpp | 161 void rsi_ScriptSetTimeZone(Context * rsc, RsScript vs, const char * timeZone, size_t length) { 167 ALOGE("Couldn't allocate memory for timezone buffer"); 170 strncpy(tz, timeZone, length); 175 ALOGE("Error setting timezone");
|
rs.spec | 266 param const char * timeZone
|
/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 21 import java.util.TimeZone; 64 String timeZone = "US/Pacific"; 66 Time time = new Time(timeZone); 67 assertEquals(timeZone, time.timezone); 69 assertEquals(anotherTimeZone, time.timezone); 88 assertEquals(time.timezone, anotherTime.timezone); 118 assertEquals(Time.TIMEZONE_UTC, anotherTime.timezone); 415 final String timeZone = "America/Los_Angeles" [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
CalendarSyncParser.java | 39 import java.util.TimeZone; 44 private final TimeZone UTC_TIMEZONE = TimeZone.getTimeZone("UTC"); 45 private final TimeZone mLocalTimeZone = TimeZone.getDefault(); 358 TimeZone timeZone = null; 413 if (allDayEvent != 0 && timeZone != null) { 418 userLog("All-day event arrived in: " + timeZone.getID()); 441 timeZone = CalendarUtilities.tziStringToTimeZone(getValue()) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTime.java | 30 public void __constructor__(String timezone) { 31 if (timezone == null) { 32 throw new NullPointerException("timezone is null!"); 34 time.timezone = timezone; 46 time.timezone = other.timezone; 142 public void clear(String timezone) { 143 if (timezone == null) { 144 throw new NullPointerException("timezone is null!") [all...] |
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
GrassRS.java | 40 import java.util.TimeZone; 157 mScript.setTimeZone(TimeZone.getDefault().getID()); 342 final String timeZone = Time.getCurrentTimezone(); 343 final SunCalculator calculator = new SunCalculator(location, timeZone);
|
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/ |
JHdf.java | 32 import java.util.TimeZone; 150 public void exportDate(String hdfName, TimeZone timeZone, Date date) {
|
/prebuilts/tools/common/m2/internal/commons-lang/commons-lang/2.4/ |
commons-lang-2.4.jar | |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TimestampTest.java | 22 import java.util.TimeZone; 200 // First set the timezone to GMT 201 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); 218 // First set the timezone to GMT 219 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); 257 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); 270 TimeZone.setDefault(TimeZone.getTimeZone("GMT")) [all...] |
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 31 import java.util.TimeZone; 80 * and pass in {@link Time#TIMEZONE_UTC Time.TIMEZONE_UTC} for the timeZone instead. 426 // TODO: use TimeZone.getOffset instead. [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
CitiesActivity.java | 61 import java.util.TimeZone; 192 TimeZone timezone = TimeZone.getTimeZone(city.mTimeZone); 193 int newOffset = timezone.getOffset(currentTime); 196 String offsetString = Utils.getGMTHourOffset(timezone, true); 389 private CharSequence getTimeCharSequence(String timeZone) { 390 mCalendar.setTimeZone(TimeZone.getTimeZone(timeZone));
|
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/ |
PolarClockWallpaper.java | 40 import java.util.TimeZone; 310 final String timeZone = intent.getStringExtra("time-zone"); 311 mCalendar = new Time(TimeZone.getTimeZone(timeZone).getID());
|