Lines Matching defs:calendar
71 * months, days of the week, or even the calendar format: lunar vs. solar.
155 protected Calendar calendar;
372 * <p>This parsing operation uses the {@link #calendar} to produce
373 * a {@code Date}. As a result, the {@code calendar}'s date-time
579 * Set the calendar to be used by this date format. Initially, the default
580 * calendar for the specified or default locale is used.
590 this.calendar = newCalendar;
594 * Gets the calendar associated with this date/time formatter.
596 * @return the calendar associated with this date/time formatter.
600 return calendar;
623 * Sets the time zone for the calendar of this {@code DateFormat} object.
639 calendar.setTimeZone(zone);
649 * @return the time zone associated with the calendar of DateFormat.
653 return calendar.getTimeZone();
675 calendar.setLenient(lenient);
685 * @return {@code true} if the {@link #calendar} is lenient;
691 return calendar.isLenient();
709 return (// calendar.equivalentTo(other.calendar) // THIS API DOESN'T EXIST YET!
710 calendar.getFirstDayOfWeek() == other.calendar.getFirstDayOfWeek() &&
711 calendar.getMinimalDaysInFirstWeek() == other.calendar.getMinimalDaysInFirstWeek() &&
712 calendar.isLenient() == other.calendar.isLenient() &&
713 calendar.getTimeZone().equals(other.calendar.getTimeZone()) &&
723 other.calendar = (Calendar) calendar.clone();