Home | History | Annotate | Download | only in calendar

Lines Matching refs:calendar

27 package sun.util.calendar;
42 * programming interface to deal with calendar date and time.
45 * example, there exists only one Gregorian calendar instance in the
55 * because, for example, a Chinese calendar date can't be understood
56 * by the Hebrew calendar system.
58 * <h4>Calendar names</h4>
60 * Each calendar system has a unique name to be identified. The Java
61 * runtime in this release supports the following calendar systems.
64 * Name Calendar System
66 * gregorian Gregorian Calendar
67 * julian Julian Calendar
68 * japanese Japanese Imperial Calendar
78 /////////////////////// Calendar Factory Methods /////////////////////////
80 // Map of calendar names and calendar classes;
96 // Map of calendar names and CalendarSystem instances
104 * calendar system.
113 * Returns a <code>CalendarSystem</code> specified by the calendar
114 * name. The calendar name has to be one of the supported calendar
117 * @param calendarName the calendar name
120 * <code>CalendarSystem</code> associated with the given calendar name.
134 return null; // Unknown calendar name
138 // Create the specific kind of local Gregorian calendar system
155 //////////////////////////////// Calendar API //////////////////////////////////
158 * Returns the name of this calendar system.
165 * Calculates calendar fields from the specified number of
175 * calculated calendar field values.
185 * calendar system. All calendar fields have their initial
190 * calendar field values.
225 * Returns the length in days of the month specified by the calendar
227 * specified calendar date. The <code>CalendarDate</code> must
232 * @exception IllegalArgumentException if the specified calendar date
233 * doesn't have a valid month value in this calendar system.
238 * Returns the length in days of a week in this calendar
239 * system. If this calendar system has multiple radix weeks, this
246 * has to be known to this calendar system. If no Era is
247 * applicable to this calendar system, null is returned.
252 * applicable to this calendar system or the specified era name is
253 * not known to this calendar system.
258 * Returns valid <code>Era</code>s of this calendar system. The
261 * applicable to this calendar system, <code>null</code> is returned.
264 * <code>null</code> if no era is applicable to this calendar
271 * unknown to this calendar system.
307 * Checks whether the calendar fields specified by <code>date</code>
308 * represents a valid date and time in this calendar system. If the
312 * @return <code>true</code> if all the calendar fields are consistent,
320 * Normalizes calendar fields in the specified
323 * normalization process is calendar system dependent.
325 * @param date the calendar date to be validated