/aosp_15_r20/libcore/luni/src/test/java/libcore/java/util/ |
H A D | SimpleTimeZoneTest.java | 50 TimeZone timeZone = TimeZone.getTimeZone("Europe/Paris"); in testStandardParis2014() local 56 TimeZone timeZone = new SimpleTimeZone(PARIS_RAW_OFFSET, "Europe/Paris", in testDstParis2014_LastSundayMarch_LastSundayOctober_UtcTime() local 64 TimeZone timeZone = new SimpleTimeZone(PARIS_RAW_OFFSET, "Europe/Paris", in testDstParis2014_SundayAfter25thMarch_SundayAfter25thOctober_UtcTime() local 72 TimeZone timeZone = new SimpleTimeZone(PARIS_RAW_OFFSET, "Europe/Paris", in testDstParis2014_30thMarch_26thOctober_UtcTime() local 83 private void checkDstParis2014(TimeZone timeZone) { in checkDstParis2014() 90 TimeZone timeZone = new SimpleTimeZone(-18000000, "EST", in testDst_1stSundayApril_1stSundayOctober_DefaultTime() local 109 TimeZone timeZone = TimeZone.getTimeZone("America/New_York"); in testStandardNewYork2014() local 115 TimeZone timeZone = new SimpleTimeZone(NEW_YORK_RAW_OFFSET, "EST", in testDstNewYork2014_2ndSundayMarch_1stSundayNovember_StandardTime() local 124 TimeZone timeZone = new SimpleTimeZone(NEW_YORK_RAW_OFFSET, "EST", in testDstNewYork2014_2ndSundayMarch_1stSundayNovember_UtcTime() local 133 TimeZone timeZone = new SimpleTimeZone(NEW_YORK_RAW_OFFSET, "EST", in testDstNewYork2014_2ndSundayMarch_1stSundayNovember_WallTime() local [all …]
|
H A D | GregorianCalendarTest.java | 162 TimeZone timeZone = TimeZone.getTimeZone("America/Los_Angeles"); in test_computeTime_enteringDst_TimeZone_LosAngeles_2014() local 175 TimeZone timeZone = TimeZone.getTimeZone("America/Los_Angeles"); in test_computeTime_enteringDst_DelegatingTimeZone_LosAngeles_2014() local 293 TimeZone timeZone = TimeZone.getTimeZone("Europe/Paris"); in test_fromZonedDateTime() local 319 TimeZone timeZone = TimeZone.getTimeZone("Europe/Paris"); in test_toZonedDateTime() local 327 private long getDstLosAngeles2014(TimeZone timeZone) { in getDstLosAngeles2014() 335 private void checkDstLosAngeles2014(TimeZone timeZone) { in checkDstLosAngeles2014() 399 TimeZone timeZone = cal.getTimeZone(); in checkOutsideDst() local 408 TimeZone timeZone = cal.getTimeZone(); in checkInsideDst() local 425 private final TimeZone timeZone; field in GregorianCalendarTest.DelegatingTimeZone 427 public DelegatingTimeZone(TimeZone timeZone) { in DelegatingTimeZone()
|
/aosp_15_r20/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/time/ |
H A D | FastDateFormat.java | 151 public static FastDateFormat getInstance(final String pattern, final TimeZone timeZone) { in getInstance() 182 …public static FastDateFormat getInstance(final String pattern, final TimeZone timeZone, final Loca… in getInstance() 227 public static FastDateFormat getDateInstance(final int style, final TimeZone timeZone) { in getDateInstance() 243 …public static FastDateFormat getDateInstance(final int style, final TimeZone timeZone, final Local… in getDateInstance() 288 public static FastDateFormat getTimeInstance(final int style, final TimeZone timeZone) { in getTimeInstance() 304 …public static FastDateFormat getTimeInstance(final int style, final TimeZone timeZone, final Local… in getTimeInstance() 352 …DateFormat getDateTimeInstance(final int dateStyle, final int timeStyle, final TimeZone timeZone) { in getDateTimeInstance() 369 … final int dateStyle, final int timeStyle, final TimeZone timeZone, final Locale locale) { in getDateTimeInstance() 382 protected FastDateFormat(final String pattern, final TimeZone timeZone, final Locale locale) { in FastDateFormat() 396 …protected FastDateFormat(final String pattern, final TimeZone timeZone, final Locale locale, final… in FastDateFormat()
|
H A D | FormatCache.java | 72 public F getInstance(final String pattern, final TimeZone timeZone, final Locale locale) { in getInstance() 91 protected abstract F createInstance(String pattern, TimeZone timeZone, Locale locale); in createInstance() 107 …teTimeInstance(final Integer dateStyle, final Integer timeStyle, final TimeZone timeZone, Locale l… in getDateTimeInstance() 127 …F getDateTimeInstance(final int dateStyle, final int timeStyle, final TimeZone timeZone, final Loc… in getDateTimeInstance() 144 F getDateInstance(final int dateStyle, final TimeZone timeZone, final Locale locale) { in getDateInstance() 161 F getTimeInstance(final int timeStyle, final TimeZone timeZone, final Locale locale) { in getTimeInstance()
|
H A D | DateFormatUtils.java | 248 …blic static String format(final Calendar calendar, final String pattern, final TimeZone timeZone) { in format() 263 …tic String format(final Calendar calendar, final String pattern, final TimeZone timeZone, final Lo… in format() 299 public static String format(final Date date, final String pattern, final TimeZone timeZone) { in format() 312 …public static String format(final Date date, final String pattern, final TimeZone timeZone, final … in format() 348 public static String format(final long millis, final String pattern, final TimeZone timeZone) { in format() 361 …public static String format(final long millis, final String pattern, final TimeZone timeZone, fina… in format()
|
H A D | FastDateParser.java | 91 private final TimeZone timeZone; field in FastDateParser 126 protected FastDateParser(final String pattern, final TimeZone timeZone, final Locale locale) { in FastDateParser() 141 protected FastDateParser(final String pattern, final TimeZone timeZone, final Locale locale, in FastDateParser() 963 … void setCalendar(final FastDateParser parser, final Calendar calendar, final String timeZone) { in setCalendar()
|
H A D | FastDatePrinter.java | 130 private final TimeZone timeZone; field in FastDatePrinter 155 protected FastDatePrinter(final String pattern, final TimeZone timeZone, final Locale locale) { in FastDatePrinter() 1347 TimeZoneNameRule(final TimeZone timeZone, final Locale locale, final int style) { in TimeZoneNameRule() 1536 TimeZoneDisplayKey(final TimeZone timeZone, in TimeZoneDisplayKey()
|
/aosp_15_r20/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/time/ |
H A D | DateFormatUtilsTest.java | 42 … assertFormats(final String expectedValue, final String pattern, final TimeZone timeZone, final Ca… in assertFormats() 48 private Calendar createFebruaryTestDate(final TimeZone timeZone) { in createFebruaryTestDate() 54 private Calendar createJuneTestDate(final TimeZone timeZone) { in createJuneTestDate() 144 final TimeZone timeZone = TimeZone.getTimeZone("GMT-3"); in testGmtMinus3() local 156 final TimeZone timeZone = TimeZone.getTimeZone("GMT-3"); in testLANG1462() local 218 TimeZone timeZone = TimeZone.getTimeZone("GMT-3"); in testSMTP() local 245 final TimeZone timeZone = FastTimeZone.getGmtTimeZone(); in testUTC() local
|
H A D | FastDateParserTest.java | 130 private static Calendar initializeCalendar(final TimeZone timeZone) { in initializeCalendar() 178 private DateParser getInstance(final String format, final TimeZone timeZone) { in getInstance() 193 final String format, final TimeZone timeZone, final Locale locale) { in getInstance() 546 final TimeZone timeZone = NEW_YORK; in testParsesKnownJava16Ea25Failure() local 708 …dateSdfFormatFdpParseEquality(final String formatStr, final Locale locale, final TimeZone timeZone, in validateSdfFormatFdpParseEquality()
|
/aosp_15_r20/external/icu/icu4c/source/i18n/ |
H A D | chnsecal.cpp | 424 struct RollMonthInfo rollMonth(const TimeZone* timeZone, int32_t amount, int32_t day, int32_t month… in rollMonth() 528 double daysToMillis(const TimeZone* timeZone, double days) { in daysToMillis() 547 double millisToDays(const TimeZone* timeZone, double millis) { in millisToDays() 575 const TimeZone* timeZone = setting.zoneAstroCalc; in winterSolstice() local 614 int32_t newMoonNear(const TimeZone* timeZone, double days, UBool after) { in newMoonNear() 640 int32_t majorSolarTerm(const TimeZone* timeZone, int32_t days) { in majorSolarTerm() 656 UBool hasNoMajorSolarTerm(const TimeZone* timeZone, int32_t newMoon) { in hasNoMajorSolarTerm() 675 UBool isLeapMonthBetween(const TimeZone* timeZone, int32_t newMoon1, int32_t newMoon2) { in isLeapMonthBetween() 722 const TimeZone* timeZone = setting.zoneAstroCalc; in computeMonthInfo() local 862 const TimeZone* timeZone = setting.zoneAstroCalc; in newYear() local
|
/aosp_15_r20/external/icu/android_icu4j/testing/src/com/android/icu/test/util/ |
H A D | ExtendedTimeZoneParameterizedTest.java | 105 BasicTimeZone timeZone = (BasicTimeZone) TimeZone.getTimeZone(zoneId); in testTransitionsNearInstants() local 151 BasicTimeZone timeZone = (BasicTimeZone) TimeZone.getTimeZone(zoneId); in testAllTransitions() local 189 BasicTimeZone timeZone = (BasicTimeZone) icuTimeZone; in testZoneRules_consistencyWithIcu4j() local 219 private static void addTransitionsUntilAnnualRule(BasicTimeZone timeZone, List<Long> result) { in addTransitionsUntilAnnualRule() 232 private void assertSameOffset(long utcTimeInMillis, BasicTimeZone timeZone, in assertSameOffset()
|
/aosp_15_r20/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/ |
H A D | CountryTimeZones.java | 53 private TimeZone timeZone; field in CountryTimeZones.TimeZoneMapping 175 private final TimeZone timeZone; field in CountryTimeZones.OffsetResult 180 public OffsetResult(TimeZone timeZone, boolean isOnlyMatch) { in OffsetResult() 304 TimeZone timeZone; in getDefaultTimeZone() local 355 TimeZone timeZone = timeZoneMapping.getTimeZone(); in hasUtcZone() local 511 private static boolean offsetMatchesAtTime(long whenMillis, TimeZone timeZone, in offsetMatchesAtTime()
|
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | TimeZoneInfo.java | 89 public Builder(TimeZone timeZone) { in Builder() 145 TimeZone timeZone = TimeZone.getFrozenTimeZone(timeZoneId); in format() local 153 public TimeZoneInfo format(TimeZone timeZone) { in format() 191 private static String getCanonicalZoneId(TimeZone timeZone) { in getCanonicalZoneId()
|
D | TimeZoneInfoPreferenceController.java | 86 final TimeZone timeZone = item.getTimeZone(); in formatInfo() local 130 TimeZone timeZone = timeZoneInfo.getTimeZone(); in findNextDstTransition() local 151 private static int getDSTSavings(TimeZone timeZone, Instant instant) { in getDSTSavings()
|
/aosp_15_r20/cts/tests/tests/calendarprovider/src/android/provider/cts/calendar/ |
H A D | CalendarTest.java | 452 String timeZone = values.getAsString(Events.EVENT_TIMEZONE); in getNewRecurringEventValues() local 2070 String timeZone = TIME_ZONES[0]; in testInstanceSearch() local 2433 String timeZone = eventValues.getAsString(Events.EVENT_TIMEZONE); in testRecurrence() local 2517 String timeZone = eventValues.getAsString(Events.EVENT_TIMEZONE); in testSingleRecurrenceExceptions() local 2696 String timeZone = eventValues.getAsString(Events.EVENT_TIMEZONE); in testNonAdapterRecurrenceExceptions() local 2792 String timeZone = recurEventValues.getAsString(Events.EVENT_TIMEZONE); in testOutOfOrderRecurrenceExceptions() local 2963 String timeZone = eventValues.getAsString(Events.EVENT_TIMEZONE); in testForwardRecurrenceExceptions() local 3057 String timeZone = eventValues.getAsString(Events.EVENT_TIMEZONE); in testFullRecurrenceUpdate() local 3349 private Cursor getInstances(String timeZone, String startWhen, String endWhen, in getInstances() 3393 private Cursor getInstancesSearch(String timeZone, String startWhen, String endWhen, in getInstancesSearch() [all …]
|
/aosp_15_r20/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
H A D | XMPDateTimeImpl.java | 44 private TimeZone timeZone = TimeZone.getTimeZone("UTC"); field in XMPDateTimeImpl 98 public XMPDateTimeImpl(Date date, TimeZone timeZone) in XMPDateTimeImpl() 305 public void setTimeZone(TimeZone timeZone) in setTimeZone()
|
/aosp_15_r20/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/ |
H A D | ZoneOffsetPeriod.java | 54 public static ZoneOffsetPeriod create(TimeZoneNames timeZoneNames, BasicTimeZone timeZone, in create() 87 ZoneOffsetPeriod toSplit, TimeZoneNames timeZoneNames, BasicTimeZone timeZone, in splitAtTime() 205 TimeZoneNames timeZoneNames, BasicTimeZone timeZone, long startMillis) { in getNameAtTime()
|
H A D | ZoneInfo.java | 62 public static ZoneInfo create(TimeZoneNames timeZoneNames, BasicTimeZone timeZone, int priority, in create() 86 BasicTimeZone timeZone = (BasicTimeZone) TimeZone.getTimeZone(zoneInfo.getZoneId()); in splitZoneOffsetPeriodAtTime() local
|
/aosp_15_r20/frameworks/base/core/java/android/app/admin/ |
H A D | FullyManagedDeviceProvisioningParams.java | 66 @Nullable String timeZone, in FullyManagedDeviceProvisioningParams() 88 @Nullable String timeZone, in FullyManagedDeviceProvisioningParams() 264 public Builder setTimeZone(@Nullable String timeZone) { in setTimeZone()
|
/aosp_15_r20/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/ |
H A D | ZoneGetterTest.java | 92 final TimeZone timeZone = TimeZone.getTimeZone(TIME_ZONE_LA_ID); in getTimeZoneOffsetAndName_withTtsSpan() local 104 final TimeZone timeZone = TimeZone.getTimeZone(timeZoneId); in testTimeZoneOffsetAndNameInner() local
|
/aosp_15_r20/frameworks/base/core/tests/benchmarks/src/android/text/format/ |
H A D | AndroidTimeVsOthersBenchmark.java | 62 java.util.TimeZone timeZone = java.util.TimeZone.getTimeZone(timezoneId); in toMillis_javaUtil() local 76 android.icu.util.TimeZone timeZone = in toMillis_androidIucUtil() local
|
/aosp_15_r20/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/impl/duration/ |
H A D | BasicDurationFormatterFactory.java | 32 private TimeZone timeZone; field in BasicDurationFormatterFactory 142 public DurationFormatterFactory setTimeZone(TimeZone timeZone) { in setTimeZone()
|
/aosp_15_r20/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
H A D | BasicDurationFormatterFactory.java | 33 private TimeZone timeZone; field in BasicDurationFormatterFactory 143 public DurationFormatterFactory setTimeZone(TimeZone timeZone) { in setTimeZone()
|
/aosp_15_r20/system/timezone/apex/tests/src/java/android/tzdata/mts/ |
H A D | TimeZoneRulesTest.java | 235 java.util.TimeZone timeZone = java.util.TimeZone.getTimeZone(timeZoneId); in dstMeansSummer() local 255 android.icu.util.TimeZone timeZone = android.icu.util.TimeZone.getTimeZone(timeZoneId); in dstMeansSummer() local
|
/aosp_15_r20/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | TimeZoneLookupHelper.java | 250 TimeZone timeZone = timeZoneMapping.getTimeZone(); in countryUsesDifferentOffsets() local 293 private static boolean offsetMatchesAtTime(@NonNull TimeZone timeZone, int totalOffsetMillis, in offsetMatchesAtTime()
|