Home
last modified time | relevance | path

Searched refs:offsetMillis (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/main/java/libcore/timezone/
DCountryTimeZones.java374 public OffsetResult lookupByOffsetWithBias(int offsetMillis, boolean isDst, long whenMillis, in lookupByOffsetWithBias() argument
386 if (!offsetMatchesAtTime(match, offsetMillis, isDst, whenMillis)) { in lookupByOffsetWithBias()
414 private static boolean offsetMatchesAtTime(TimeZone timeZone, int offsetMillis, boolean isDst, in offsetMatchesAtTime() argument
424 return offsetMillis == (offsets[0] + offsets[1]); in offsetMatchesAtTime()
438 public OffsetResult lookupByOffsetWithBias(int offsetMillis, Integer dstOffsetMillis, in lookupByOffsetWithBias() argument
450 if (!offsetMatchesAtTime(match, offsetMillis, dstOffsetMillis, whenMillis)) { in lookupByOffsetWithBias()
478 private static boolean offsetMatchesAtTime(TimeZone timeZone, int offsetMillis, in offsetMatchesAtTime() argument
488 return offsetMillis == (offsets[0] + offsets[1]); in offsetMatchesAtTime()
DTimeZoneFinder.java205 String countryIso, int offsetMillis, boolean isDst, long whenMillis, TimeZone bias) { in lookupTimeZoneByCountryAndOffset() argument
212 countryTimeZones.lookupByOffsetWithBias(offsetMillis, isDst, whenMillis, bias); in lookupTimeZoneByCountryAndOffset()
/libcore/ojluni/src/main/java/java/util/
DTimeZone.java265 abstract public void setRawOffset(int offsetMillis); in setRawOffset() argument
415 int offsetMillis = getRawOffset(); in getDisplayName() local
417 offsetMillis += getDSTSavings(); in getDisplayName()
420 offsetMillis); in getDisplayName()
438 boolean includeMinuteSeparator, int offsetMillis) { in createGmtOffsetString() argument
439 int offsetMinutes = offsetMillis / 60000; in createGmtOffsetString()
DSimpleTimeZone.java793 public void setRawOffset(int offsetMillis) in setRawOffset() argument
795 this.rawOffset = offsetMillis; in setRawOffset()
/libcore/luni/src/main/java/libcore/icu/
DTimeZoneNames.java95 int offsetMillis = tz.getRawOffset(); in addOffsetStrings() local
97 offsetMillis += tz.getDSTSavings(); in addOffsetStrings()
100 /* includeGmt */ true, /*includeMinuteSeparator */true, offsetMillis); in addOffsetStrings()
/libcore/luni/src/test/java/libcore/java/util/
DOldTimeZoneTest.java44 public void setRawOffset(int offsetMillis) { in setRawOffset() argument
DGregorianCalendarTest.java443 public void setRawOffset(int offsetMillis) { in setRawOffset() argument
444 timeZone.setRawOffset(offsetMillis); in setRawOffset()
/libcore/ojluni/src/main/java/java/text/
DSimpleDateFormat.java1473 int offsetMillis = calendar.get(Calendar.ZONE_OFFSET) + in subFormat()
1475 buffer.append(TimeZone.createGmtOffsetString(true, true, offsetMillis)); in subFormat()