public class Gregorian extends BaseCalendar
| Modifier and Type | Method and Description |
|---|---|
com.tencent.kona.sun.util.calendar.Gregorian.Date |
getCalendarDate() |
com.tencent.kona.sun.util.calendar.Gregorian.Date |
getCalendarDate(long millis)
Calculates calendar fields from the specified number of
milliseconds since the Epoch, January 1, 1970 00:00:00 UTC
(Gregorian).
|
com.tencent.kona.sun.util.calendar.Gregorian.Date |
getCalendarDate(long millis,
CalendarDate date) |
com.tencent.kona.sun.util.calendar.Gregorian.Date |
getCalendarDate(long millis,
java.util.TimeZone zone) |
java.lang.String |
getName()
Returns the name of this calendar system.
|
com.tencent.kona.sun.util.calendar.Gregorian.Date |
newCalendarDate()
Constructs a
CalendarDate that is specific to this
calendar system. |
com.tencent.kona.sun.util.calendar.Gregorian.Date |
newCalendarDate(java.util.TimeZone zone) |
getCalendarDateFromFixedDate, getDayOfWeek, getDayOfWeekFromFixedDate, getDayOfYear, getFixedDate, getFixedDate, getMonthLength, getYearFromFixedDate, getYearLength, getYearLengthInMonths, isLeapYear, normalize, validategetDayOfWeekDateOnOrBefore, getEra, getEras, getNthDayOfWeek, getTime, getTimeOfDay, getTimeOfDayValue, getWeekLength, setEra, setEras, setTimeOfDay, validateTimeforName, getGregorianCalendarpublic java.lang.String getName()
CalendarSystemgetName in class CalendarSystempublic com.tencent.kona.sun.util.calendar.Gregorian.Date getCalendarDate()
getCalendarDate in class AbstractCalendarpublic com.tencent.kona.sun.util.calendar.Gregorian.Date getCalendarDate(long millis)
CalendarSystemgetCalendarDate in class AbstractCalendarmillis - the offset value in milliseconds from January 1,
1970 00:00:00 UTC (Gregorian).CalendarDate instance that contains the
calculated calendar field values.public com.tencent.kona.sun.util.calendar.Gregorian.Date getCalendarDate(long millis,
CalendarDate date)
getCalendarDate in class AbstractCalendarpublic com.tencent.kona.sun.util.calendar.Gregorian.Date getCalendarDate(long millis,
java.util.TimeZone zone)
getCalendarDate in class AbstractCalendarpublic com.tencent.kona.sun.util.calendar.Gregorian.Date newCalendarDate()
CalendarSystemCalendarDate that is specific to this
calendar system. All calendar fields have their initial
values. The default time zone is
set to the instance.newCalendarDate in class CalendarSystemCalendarDate instance that contains the initial
calendar field values.public com.tencent.kona.sun.util.calendar.Gregorian.Date newCalendarDate(java.util.TimeZone zone)
newCalendarDate in class CalendarSystem