Lines Matching defs:GregorianCalendar

53  * <code>GregorianCalendar</code> is a concrete subclass of
57 * <p> <code>GregorianCalendar</code> is a hybrid calendar that
68 * this correctly. Before the Gregorian cutover, <code>GregorianCalendar</code>
75 * <code>GregorianCalendar</code> implements <em>proleptic</em> Gregorian and
78 * <code>GregorianCalendar</code> may be used for all years to generate
80 * <code>GregorianCalendar</code> are historically accurate only from March 1, 4
108 * GregorianCalendar}. <a name="iso8601_compatible_setting">The week
156 * undefined. <code>GregorianCalendar</code> uses the following
160 * summary="GregorianCalendar default field values"
267 * // create a GregorianCalendar with the Pacific Daylight time zone
269 * Calendar calendar = new GregorianCalendar(pdt);
327 public class GregorianCalendar extends Calendar {
582 * Constructs a default <code>GregorianCalendar</code> using the current time
585 public GregorianCalendar() {
591 * Constructs a <code>GregorianCalendar</code> based on the current time
596 public GregorianCalendar(TimeZone zone) {
601 * Constructs a <code>GregorianCalendar</code> based on the current time
606 public GregorianCalendar(Locale aLocale) {
612 * Constructs a <code>GregorianCalendar</code> based on the current time
618 public GregorianCalendar(TimeZone zone, Locale aLocale) {
625 * Constructs a <code>GregorianCalendar</code> with the given date set
633 public GregorianCalendar(int year, int month, int dayOfMonth) {
638 * Constructs a <code>GregorianCalendar</code> with the given date
650 public GregorianCalendar(int year, int month, int dayOfMonth, int hourOfDay,
656 * Constructs a GregorianCalendar with the given date
670 public GregorianCalendar(int year, int month, int dayOfMonth, int hourOfDay,
676 * Constructs a <code>GregorianCalendar</code> with the given date
691 GregorianCalendar(int year, int month, int dayOfMonth,
728 * Sets the <code>GregorianCalendar</code> change date. This is the point when the switch
786 * @return the Gregorian cutover date for this <code>GregorianCalendar</code> object.
825 * Compares this <code>GregorianCalendar</code> to the specified
827 * only if the argument is a <code>GregorianCalendar</code> object
839 return obj instanceof GregorianCalendar &&
841 gregorianCutover == ((GregorianCalendar)obj).gregorianCutover;
845 * Generates the hash code for this <code>GregorianCalendar</code> object.
1063 * <em>Example</em>: Consider a <code>GregorianCalendar</code>
1092 * <em>Example</em>: Consider a <code>GregorianCalendar</code>
1095 * <code>GregorianCalendar</code>, the <code>DAY_OF_MONTH</code> field cannot
1100 * <em>Example</em>: Consider a <code>GregorianCalendar</code>
1464 * <code>GregorianCalendar</code> instance. The minimum value is
1487 * <code>GregorianCalendar</code> instance. The maximum value is
1521 GregorianCalendar gc = (GregorianCalendar) clone();
1535 * of this <code>GregorianCalendar</code> instance. The highest
1564 * of this <code>GregorianCalendar</code> instance. The lowest
1591 GregorianCalendar gc = (GregorianCalendar) clone();
1613 * 1970 and the date of this <code>GregorianCalendar</code> is
1622 * this <code>GregorianCalendar</code>
1632 GregorianCalendar gc = getNormalizedCalendar();
1661 * WEEK_OF_YEAR} in the week year of this {@code GregorianCalendar}.
1665 * this <code>GregorianCalendar</code>
1681 GregorianCalendar gc = getNormalizedCalendar();
1778 gc = (GregorianCalendar) gc.clone();
1818 gc = (GregorianCalendar) gc.clone();
1841 // Let a cloned GregorianCalendar take care of the cutover cases.
1843 gc = (GregorianCalendar) clone();
1880 gc = (GregorianCalendar) clone();
1943 GregorianCalendar other = (GregorianCalendar) super.clone();
1978 * Returns {@code true} indicating this {@code GregorianCalendar}
1994 * {@code GregorianCalendar}. The dates in the weeks between 1 and the
2002 * @return the week year represented by this {@code GregorianCalendar}.
2043 // cloning this GregorianCalendar.
2049 GregorianCalendar cal = (GregorianCalendar) clone();
2097 * Sets this {@code GregorianCalendar} to the date given by the
2130 * @see GregorianCalendar#isWeekDateSupported()
2143 GregorianCalendar gc = (GregorianCalendar) clone();
2183 * represented by this {@code GregorianCalendar}.
2185 * <p>For example, if this {@code GregorianCalendar}'s date is
2199 GregorianCalendar gc = getNormalizedCalendar();
2207 gc = (GregorianCalendar) gc.clone();
2444 // GregorianCalendar.
2906 private final GregorianCalendar getNormalizedCalendar() {
2907 GregorianCalendar gc;
2912 gc = (GregorianCalendar) this.clone();
3125 GregorianCalendar gc = getNormalizedCalendar();