Lines Matching refs:date

40  * programming interface to deal with calendar date and time.
53 * because, for example, a Chinese calendar date can't be understood
196 public abstract CalendarDate getCalendarDate(long millis, CalendarDate date);
218 * @param date the <code>CalendarDate</code> from which the time
222 public abstract long getTime(CalendarDate date);
226 * <code>date</code>. This method does not perform the
231 public abstract int getYearLength(CalendarDate date);
239 public abstract int getYearLengthInMonths(CalendarDate date);
243 * date. This method does not perform the normalization with the
244 * specified calendar date. The <code>CalendarDate</code> must
247 * @param date the date from which the month value is obtained
249 * @exception IllegalArgumentException if the specified calendar date
252 public abstract int getMonthLength(CalendarDate date); // no setter
291 public abstract void setEra(CalendarDate date, String eraName);
295 * which is on, after or before the specified date. For example, the
301 * CalendarDate date = cal.newCalendarDate();
302 * date.setDate(2004, cal.APRIL, 1);
303 * CalendarDate firstSun = cal.getNthDayOfWeek(1, cal.SUNDAY, date);
308 * and doesn't modify the original date.
311 * <em>on or after</em> the <code>date</code>. A non-positive number
312 * specifies <em>on or before</em> the <code>date</code>.
314 * @param date the date
315 * @return the date of the nth <code>dayOfWeek</code> after
319 CalendarDate date);
321 public abstract CalendarDate setTimeOfDay(CalendarDate date, int timeOfDay);
324 * Checks whether the calendar fields specified by <code>date</code>
325 * represents a valid date and time in this calendar system. If the
326 * given date is valid, <code>date</code> is marked as <em>normalized</em>.
328 * @param date the <code>CalendarDate</code> to be validated
332 * <code>date</code> is <code>null</code>
334 public abstract boolean validate(CalendarDate date);
338 * <code>date</code>. Also all {@link CalendarDate#FIELD_UNDEFINED
342 * @param date the calendar date to be validated
346 * <code>date</code> is <code>null</code>
348 public abstract boolean normalize(CalendarDate date);