/external/icu4c/i18n/unicode/ |
gregocal.h | 77 * const StringEnumeration *ids = TimeZone::createEnumeration(-8 * 60 * 60 * 1000); 153 * Useful constants for GregorianCalendar and TimeZone. 176 * @param zoneToAdopt The given timezone. 181 GregorianCalendar(TimeZone* zoneToAdopt, UErrorCode& success); 187 * @param zone The given timezone. 192 GregorianCalendar(const TimeZone& zone, UErrorCode& success); 210 * @param zoneToAdopt The given timezone. 216 GregorianCalendar(TimeZone* zoneToAdopt, const Locale& aLocale, UErrorCode& success); 222 * @param zone The given timezone. 228 GregorianCalendar(const TimeZone& zone, const Locale& aLocale, UErrorCode& success) [all...] |
rbtz.h | 68 * Return true if the given <code>TimeZone</code> objects are 71 * @return true if the given <code>TimeZone</code> objects are 75 virtual UBool operator==(const TimeZone& that) const; 78 * Return true if the given <code>TimeZone</code> objects are 81 * @return true if the given <code>TimeZone</code> objects are 85 virtual UBool operator!=(const TimeZone& that) const; 105 * Makes the <code>TimeZoneRule</code> ready to handle actual timezone 116 * Clones TimeZone objects polymorphically. Clients are responsible for deleting 117 * the TimeZone object cloned. 119 * @return A new copy of this TimeZone object [all...] |
tzfmt.h | 21 #include "unicode/timezone.h" 393 virtual UnicodeString& format(UTimeZoneFormatStyle style, const TimeZone& tz, UDate date, 441 * Returns a <code>TimeZone</code> by parsing the time zone string according to 450 * @return A <code>TimeZone</code>, or null if the input could not be parsed. 456 virtual TimeZone* parse(UTimeZoneFormatStyle style, const UnicodeString& text, ParsePosition& pos, 460 * Returns a <code>TimeZone</code> by parsing the time zone string according to 468 * @return A <code>TimeZone</code>, or null if the input could not be parsed. 474 TimeZone* parse(UTimeZoneFormatStyle style, const UnicodeString& text, ParsePosition& pos, 483 * This method handles Formattable objects with a <code>TimeZone</code>. If a the Formattable 484 * object type is not a <code>TimeZone</code>, then it returns a failing UErrorCode [all...] |
dtitvfmt.h | 187 * Locale provides the timezone, calendar, and format symbols information. 493 * Returns a reference to the TimeZone used by this DateIntervalFormat's calendar. 497 virtual const TimeZone& getTimeZone(void) const; 501 * caller no longer owns the TimeZone object and should not delete it after this call. 502 * @param zoneToAdopt the TimeZone to be adopted. 505 virtual void adoptTimeZone(TimeZone* zoneToAdopt); 512 virtual void setTimeZone(const TimeZone& zone); 599 * DateFormat provides the timezone, calendar, [all...] |
/external/icu4c/test/intltest/ |
caltztst.h | 36 UnicodeString& dateToString(UDate d, UnicodeString& str, const TimeZone& z);
|
tzregts.h | 14 #include "unicode/timezone.h" 49 UBool checkCalendar314(GregorianCalendar *testCal, TimeZone *testTZ);
|
windttst.cpp | 76 const TimeZone *tz = TimeZone::createDefault(); 82 int32_t ec = TimeZone::countEquivalentIDs(zoneID); 85 UnicodeString equiv = TimeZone::getEquivalentID(zoneID, z);
|
/libcore/luni/src/main/java/libcore/icu/ |
TimeZoneNames.java | 24 import java.util.TimeZone; 32 private static final String[] availableTimeZoneIds = TimeZone.getAvailableIDs(); 124 return (style == TimeZone.LONG) ? row[LONG_NAME_DST] : row[SHORT_NAME_DST]; 126 return (style == TimeZone.LONG) ? row[LONG_NAME] : row[SHORT_NAME];
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
TimeZoneData.java | 38 import java.util.TimeZone; 121 String[] tzIds = TimeZone.getAvailableIDs(); 141 final TimeZone tz = TimeZone.getTimeZone(tzId); 143 Log.e(TAG, "Timezone not found: " + tzId); 164 // TimeZone.SHORT, groupIdx, !found); 166 // TimeZone.LONG, groupIdx, !found); 169 // TimeZone.SHORT, groupIdx, 172 // TimeZone.LONG, groupIdx, 199 TimeZone.LONG, defaultLocal) [all...] |
/libcore/luni/src/main/java/java/util/ |
Calendar.java | 287 * @see TimeZone 344 private TimeZone zone; 700 * Constructs a {@code Calendar} instance using the default {@code TimeZone} and {@code Locale}. 703 this(TimeZone.getDefault(), Locale.getDefault()); 706 Calendar(TimeZone timezone) { 711 setTimeZone(timezone); 715 * Constructs a {@code Calendar} instance using the given {@code TimeZone} and {@code Locale}. 717 protected Calendar(TimeZone timezone, Locale locale) [all...] |
/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/icu4c/i18n/ |
udateintervalformat.cpp | 16 #include "unicode/timezone.h" 47 TimeZone *zone = TimeZone::createTimeZone(UnicodeString((UBool)(tzIDLength == -1), tzID, tzIDLength));
|
olsontz.h | 144 * Returns true if the two TimeZone objects are equal. 146 virtual UBool operator==(const TimeZone& other) const; 149 * TimeZone API. 151 virtual TimeZone* clone() const; 154 * TimeZone API. 159 * TimeZone API. 164 * TimeZone API. Do not call this; prefer getOffset(UDate,...). 171 * TimeZone API. Do not call this; prefer getOffset(UDate,...). 179 * TimeZone API. 191 * TimeZone API. This method has no effect since objects of thi [all...] |
wintzimpl.cpp | 19 #include "unicode/timezone.h" 36 static UBool getSystemTimeInformation(TimeZone *tz, SYSTEMTIME &daylightDate, SYSTEMTIME &standardDate, int32_t &bias, int32_t &daylightBias, int32_t &standardBias) { 119 TimeZone *tz = TimeZone::createTimeZone(id); 144 * Given the timezone icuid, fill in zoneInfo by calling auxillary functions that creates a timezone and extract the
|
windtfmt.cpp | 28 #include "unicode/timezone.h" 153 const TimeZone &tz = cal.getTimeZone(); 221 void Win32DateFormat::adoptTimeZone(TimeZone *zoneToAdopt) 227 void Win32DateFormat::setTimeZone(const TimeZone& zone) 285 UnicodeString Win32DateFormat::setTimeZoneInfo(TIME_ZONE_INFORMATION *tzi, const TimeZone &zone) const 297 int32_t ec = TimeZone::countEquivalentIDs(icuid); 300 UnicodeString equiv = TimeZone::getEquivalentID(icuid, z);
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
MUCInitialPresence.java | 27 import java.util.TimeZone; 216 utcFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
|
/external/smack/src/org/xbill/DNS/ |
FormattedTime.java | 37 Calendar c = new GregorianCalendar(TimeZone.getTimeZone("UTC")); 62 Calendar c = new GregorianCalendar(TimeZone.getTimeZone("UTC"));
|
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
WorldClockAdapter.java | 41 import java.util.TimeZone; 120 SettingsActivity.KEY_HOME_TZ, TimeZone.getDefault().getID()); 122 return TimeZone.getTimeZone(homeTZ).getOffset(now.getTime()) 123 != TimeZone.getDefault().getOffset(now.getTime()); 164 int gmOffset1 = TimeZone.getTimeZone(city1.mTimeZone).getOffset(now.getTime()); 165 int gmOffset2 = TimeZone.getTimeZone(city2.mTimeZone).getOffset(now.getTime()); 253 now.setTimeZone(TimeZone.getDefault()); 255 // Get timezone from cities DB if available 257 now.setTimeZone(TimeZone.getTimeZone(cityTZ));
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
CalendarUtilities.java | 65 import java.util.TimeZone; 128 // TimeZone cache; we parse/decode as little as possible, because the process is quite slow 129 private static HashMap<String, TimeZone> sTimeZoneCache = new HashMap<String, TimeZone>(); 131 private static HashMap<TimeZone, String> sTziStringCache = new HashMap<TimeZone, String>(); 133 private static final TimeZone UTC_TIMEZONE = TimeZone.getTimeZone("UTC"); 164 static final TimeZone sGmtTimeZone = TimeZone.getTimeZone("GMT") [all...] |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipEntryTest.java | 19 import java.util.TimeZone; 365 TimeZone zone = TimeZone.getDefault(); 367 TimeZone.setDefault(TimeZone.getTimeZone("EST")); 371 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); 375 TimeZone.setDefault(TimeZone.getTimeZone("EST")); 386 TimeZone.setDefault(zone) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettingsSetupWizard.java | 52 import java.util.TimeZone; 75 private TimeZone mSelectedTimeZone; 110 // Currently just comment out codes related to auto timezone. 120 final TimeZone tz = TimeZone.getDefault(); 179 final TimeZone systemTimeZone = TimeZone.getDefault(); 181 Log.i(TAG, "Another TimeZone is selected by a user. Changing system TimeZone."); 240 final TimeZone tz = ZonePicker.obtainTimeZoneFromItem(parent.getItemAtPosition(position)) [all...] |
/dalvik/tests/092-locale/src/ |
Main.java | 26 import java.util.TimeZone; 66 TimeZone tz = TimeZone.getTimeZone("GMT");
|
/external/icu4c/test/perf/normperf/ |
dtfmtrtperf.h | 14 #include "unicode/timezone.h" 143 StringEnumeration *tzids = TimeZone::createEnumeration(); 163 TimeZone *tz = TimeZone::createTimeZone(*tzid);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
Clock.java | 44 import java.util.TimeZone; 99 mCalendar = Calendar.getInstance(TimeZone.getDefault()); 120 mCalendar = Calendar.getInstance(TimeZone.getTimeZone(tz));
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
DerUTCTimeEDTest.java | 29 import java.util.TimeZone; 64 sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
|