Lines Matching defs:zone

260  * // create a Pacific Standard Time time zone
267 * // create a GregorianCalendar with the Pacific Daylight time zone
565 * Temporary int[2] to get time zone offsets. zoneOffsets[0] gets
583 * in the default time zone with the default locale.
592 * in the given time zone with the default locale.
594 * @param zone the given time zone.
596 public GregorianCalendar(TimeZone zone) {
597 this(zone, Locale.getDefault(Locale.Category.FORMAT));
602 * in the default time zone with the given locale.
613 * in the given time zone with the given locale.
615 * @param zone the given time zone.
618 public GregorianCalendar(TimeZone zone, Locale aLocale) {
619 super(zone, aLocale);
620 gdate = (BaseCalendar.Date) gcal.newCalendarDate(zone);
626 * in the default time zone with the default locale.
639 * and time set for the default time zone with the default locale.
657 * and time set for the default time zone with the default locale.
677 * and time set for the default time zone with the default locale.
992 // time zone offset change adjustment. Convert the
1013 // The time fields don't require time zone offset change
1021 // require time zone offset (both GMT and DST) change
1046 // If the time zone offset has changed, then adjust the difference.
1190 // Time zone offset and/or daylight saving might have changed.
1959 TimeZone zone = super.getTimeZone();
1960 // To share the zone by CalendarDates
1961 gdate.setZone(zone);
1963 cdate.setZone(zone);
1965 return zone;
1968 public void setTimeZone(TimeZone zone) {
1969 super.setTimeZone(zone);
1970 // To share the zone by CalendarDates
1971 gdate.setZone(zone);
1973 cdate.setZone(zone);
2142 // calculations, use a clone with the GMT time zone.
2263 * @param tzMask a bit mask to specify which time zone offset
2711 // Compute the time zone offset and DST offset. There are two potential
2724 TimeZone zone = getZone();
2730 if (zone instanceof ZoneInfo) {
2731 ((ZoneInfo)zone).getOffsetsByWall(millis, zoneOffsets);
2734 internalGet(ZONE_OFFSET) : zone.getRawOffset();
2735 zone.getOffsets(millis - gmtOffset, zoneOffsets);
2747 // Adjust the time zone offset values to get the UTC time.