Lines Matching refs:Gregorian

48 import sun.util.calendar.Gregorian;
58 * supports both the Julian and Gregorian calendar systems with the
60 * the Gregorian date when the Gregorian calendar was instituted
66 * Historically, in those countries which adopted the Gregorian calendar first,
67 * October 4, 1582 (Julian) was thus followed by October 15, 1582 (Gregorian). This calendar models
68 * this correctly. Before the Gregorian cutover, <code>GregorianCalendar</code>
69 * implements the Julian calendar. The only difference between the Gregorian
71 * leap years every four years, whereas the Gregorian calendar omits century
75 * <code>GregorianCalendar</code> implements <em>proleptic</em> Gregorian and
86 * Prior to the institution of the Gregorian calendar, New Year's Day was
88 * adjustment may be made if desired for dates that are prior to the Gregorian
103 * for year(s) involved in the Julian-Gregorian transition).
333 * milliseconds from January 1, 1970 (Gregorian), midnight UTC. Other
334 * epochs which are used are January 1, year 1 (Gregorian), which is day 1
335 * of the Gregorian calendar, and December 30, year 0 (Gregorian), which is
338 * We implement the proleptic Julian and Gregorian calendars. This means we
340 * historical usage differs. For example, if the Gregorian change is set
341 * to new Date(Long.MIN_VALUE), we have a pure Gregorian calendar which
342 * labels dates preceding the invention of the Gregorian calendar in 1582 as
394 private static final int EPOCH_OFFSET = 719163; // Fixed date of January 1, 1970 (Gregorian)
434 * *: depends on the Gregorian change date
497 // Reference to the sun.util.calendar.Gregorian instance (singleton).
498 private static final Gregorian gcal =
516 * The point at which the Gregorian calendar rules are used, measured in
518 * (Gregorian) 00:00:00 UTC or -12219292800000L. For this value, October 4,
519 * 1582 (Julian) is followed by October 15, 1582 (Gregorian). This
532 * The normalized year of the gregorianCutover in Gregorian, with
544 * gdate always has a sun.util.calendar.Gregorian.Date instance to
546 * applications will need only Gregorian calendar calculations.
729 * from Julian dates to Gregorian dates occurred. Default is October 15,
730 * 1582 (Gregorian). Previous to this, dates will be in the Julian calendar.
733 * <code>Date(Long.MAX_VALUE)</code>. To obtain a pure Gregorian calendar,
736 * @param date the given Gregorian cutover date.
756 // Gregorian date. However, the API doc specifies that setting
765 // Set the cutover year (in the Gregorian year numbering)
781 * Gets the Gregorian Calendar change date. This is the point when the
782 * switch from Julian dates to Gregorian dates occurred. Default is
783 * October 15, 1582 (Gregorian). Previous to this, dates will be in the Julian
786 * @return the Gregorian cutover date for this <code>GregorianCalendar</code> object.
807 return (year%100 != 0) || (year%400 == 0); // Gregorian
813 // If the given year is the Gregorian cutover year, we need to
816 BaseCalendar.Date d = getCalendarDate(gregorianCutoverDate); // Gregorian
830 * <code>Calendar</code> parameters and Gregorian change date as
1514 // On or after Gregorian 200-3-1, Julian and Gregorian
1515 // calendar dates are the same or Gregorian dates are
1612 * <p>For example, if the Gregorian change date is January 10,
1831 // may be in the Gregorian cutover month
1867 * Gregorian = May 17, 292275056 BCE - Aug 17, 292278994 CE
2021 // Fast path for the Gregorian calendar years that are never
2022 // affected by the Julian-Gregorian transition
2314 // Handle Gregorian dates.
2441 // the Gregorian cutover year, we need to take care of
2547 // We can always use `gcal' since Julian and Gregorian are the
2644 // Calculate the fixed date since January 1, 1 (Gregorian).
2702 // will produce a Gregorian date.
2772 * Computes the fixed date under either the Gregorian or the
2800 // Get the fixed date since Jan 1, 1 (Gregorian). We are on
2934 * method returns Gregorian. Otherwise, Julian.
2944 * Determines if the specified year (normalized) is the Gregorian
2957 * calculated. The date has to be in the cut-over year (Gregorian
2967 // in the same (Gregorian) year. So, no
2983 * calculated. The date has to be in the cut-over year (Gregorian
3034 * Returns the Gregorian cutover date as a BaseCalendar.Date. The
3035 * date is a Gregorian date.
3042 * Returns the day before the Gregorian cutover date as a