Lines Matching defs:calendar

26 package sun.util.calendar;
41 * programming interface to deal with calendar date and time.
44 * example, there exists only one Gregorian calendar instance in the
54 * because, for example, a Chinese calendar date can't be understood
55 * by the Hebrew calendar system.
59 * Each calendar system has a unique name to be identified. The Java
60 * runtime in this release supports the following calendar systems.
81 // Map of calendar names and calendar class names
84 // Map of calendar names and CalendarSystem instances
87 private static final String PACKAGE_NAME = "sun.util.calendar.";
104 // Associate a calendar name with its class name and the
105 // calendar class name with its date class name.
125 * calendar system.
134 * Returns a <code>CalendarSystem</code> specified by the calendar
135 * name. The calendar name has to be one of the supported calendar
138 * @param calendarName the calendar name
141 * <code>CalendarSystem</code> associated with the given calendar name.
159 return null; // Unknown calendar name
163 // Create the specific kind of local Gregorian calendar system
183 * Returns the name of this calendar system.
190 * Calculates calendar fields from the specified number of
200 * calculated calendar field values.
210 * calendar system. All calendar fields have their initial
215 * calendar field values.
250 * Returns the length in days of the month specified by the calendar
252 * specified calendar date. The <code>CalendarDate</code> must
257 * @exception IllegalArgumentException if the specified calendar date
258 * doesn't have a valid month value in this calendar system.
263 * Returns the length in days of a week in this calendar
264 * system. If this calendar system has multiple radix weeks, this
271 * has to be known to this calendar system. If no Era is
272 * applicable to this calendar system, null is returned.
277 * applicable to this calendar system or the specified era name is
278 * not known to this calendar system.
283 * Returns valid <code>Era</code>s of this calendar system. The
286 * applicable to this calendar system, <code>null</code> is returned.
289 * <code>null</code> if no era is applicable to this calendar
296 * unknown to this calendar system.
332 * Checks whether the calendar fields specified by <code>date</code>
333 * represents a valid date and time in this calendar system. If the
337 * @return <code>true</code> if all the calendar fields are consistent,
345 * Normalizes calendar fields in the specified
348 * normalization process is calendar system dependent.
350 * @param date the calendar date to be validated