Searched defs:zone (Results 1 - 11 of 11) sorted by relevance
/libcore/ojluni/src/main/java/sun/util/calendar/ |
H A D | Gregorian.java | 44 protected Date(TimeZone zone) { argument 45 super(zone); 76 public Date getCalendarDate(long millis, TimeZone zone) { argument 77 return getCalendarDate(millis, newCalendarDate(zone)); 84 public Date newCalendarDate(TimeZone zone) { argument 85 return new Date(zone);
|
H A D | Era.java | 108 public long getSince(TimeZone zone) { argument 109 if (zone == null || !localTime) { 112 int offset = zone.getOffset(since);
|
H A D | AbstractCalendar.java | 111 public CalendarDate getCalendarDate(long millis, TimeZone zone) { argument 112 CalendarDate date = newCalendarDate(zone); 122 // adjust to local time if `date' has time zone. 130 // We need to calculate the given millis and time zone 180 // adjust time zone and daylight saving
|
H A D | CalendarSystem.java | 169 * the time zone offsets (i.e., the GMT offset and amount of 181 public abstract CalendarDate getCalendarDate(long millis, TimeZone zone); argument 186 * values. The {@link TimeZone#getDefault() default time zone} is 194 public abstract CalendarDate newCalendarDate(TimeZone zone); argument
|
H A D | JulianCalendar.java | 53 protected Date(TimeZone zone) { argument 54 super(zone); 133 public Date getCalendarDate(long millis, TimeZone zone) { argument 134 return getCalendarDate(millis, newCalendarDate(zone)); 141 public Date newCalendarDate(TimeZone zone) { argument 142 return new Date(zone);
|
H A D | LocalGregorianCalendar.java | 57 protected Date(TimeZone zone) { argument 58 super(zone); 206 public Date getCalendarDate(long millis, TimeZone zone) { argument 207 return getCalendarDate(millis, newCalendarDate(zone)); 242 public Date newCalendarDate(TimeZone zone) { argument 243 return new Date(zone);
|
H A D | BaseCalendar.java | 148 protected Date(TimeZone zone) { argument 149 super(zone); 226 // If the date has a time zone, then we need to recalculate
|
H A D | CalendarDate.java | 93 protected CalendarDate(TimeZone zone) { argument 94 zoneinfo = zone; 423 int zone = zoneinfo != null ? zoneinfo.hashCode() : 0; 424 return (int) hash * (int)(hash >> 32) ^ era ^ normalized ^ zone;
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | DateFormat.java | 112 * <p>You can also set the time zone on the format if you wish. 634 * Sets the time zone for the calendar of this {@code DateFormat} object. 637 * getCalendar().setTimeZone(zone) 646 * @param zone the given new time zone. 648 public void setTimeZone(TimeZone zone) argument 650 calendar.setTimeZone(zone); 654 * Gets the time zone. 660 * @return the time zone associated with the calendar of DateFormat. 1004 * Constant identifying the time zone fiel [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | GregorianCalendar.java | 261 * // create a Pacific Standard Time time zone 268 * // create a GregorianCalendar with the Pacific Daylight time zone 566 * Temporary int[2] to get time zone offsets. zoneOffsets[0] gets 584 * in the default time zone with the default locale. 593 * in the given time zone with the default locale. 595 * @param zone the given time zone. 597 public GregorianCalendar(TimeZone zone) { argument 598 this(zone, Locale.getDefault(Locale.Category.FORMAT)); 603 * in the default time zone wit 619 GregorianCalendar(TimeZone zone, Locale aLocale) argument 1974 setTimeZone(TimeZone zone) argument 2811 adjustForZoneAndDaylightSavingsTime( int tzMask, long utcTimeInMillis, TimeZone zone) argument 2914 adjustDstOffsetForInvalidWallClock( long standardTimeInZone, TimeZone zone, int dstOffset) argument [all...] |
H A D | Calendar.java | 248 * <code>f</code> is changed or other constraints, such as time zone 548 * zone of this <code>Calendar</code> if the 559 * the time zone of this <code>Calendar</code> if the 813 * uses the time zone data to translate between locale and GMT time. 816 private TimeZone zone; field in class:Calendar 819 * <code>True</code> if zone references to a shared TimeZone object. 932 * Constructs a Calendar with the default time zone 943 * Constructs a calendar with the specified time zone and locale. 945 * @param zone the time zone t 948 Calendar(TimeZone zone, Locale aLocale) argument 987 getInstance(TimeZone zone) argument 1016 getInstance(TimeZone zone, Locale aLocale) argument 1022 createCalendar(TimeZone zone, Locale aLocale) argument [all...] |
Completed in 197 milliseconds