/** * Translates this calendar date to an instance of * <tt>GregorianCalendar</tt>, with the <tt>year</tt>, <tt>month</tt>, and * <tt>dayOfMonth</tt> fields set in the default time zone with the default * locale. * * @return * This calendar date as a <tt>GregorianCalendar</tt>. */ public GregorianCalendar toCalendar() { return toCalendar(new Time(0, 0, 0)); }
@Override public synchronized void remove(QueryListener<V> listener) { super.remove(listener); }
@Override public synchronized void add(QueryListener<V> listener) { super.add(listener); }
/** * Creates a new <tt>CalendarDateSpinnerData</tt> bounded from * <tt>1900-01-01</tt> to <tt>2099-12-31</tt>. */ public CalendarDateSpinnerData() { this(new CalendarDate(1900, 0, 0), new CalendarDate(2099, 11, 30)); }
@Override public Iterator<T> iterator() { return new NodeIterator(); } }
@Override public boolean equals(Object object) { return (object instanceof Version && compareTo((Version)object) == 0); }
/** * Tests the existence of a listener in the list. * * @param listener * * @return * <tt>true</tt> if the listener exists in the list; <tt>false</tt>, * otherwise. */ public boolean contains(T listener) { return indexOf(listener) >= 0; }
public static final void log(String message) { logOutput(message); }
/** * Translates this calendar date to an instance of * <tt>GregorianCalendar</tt>, with the <tt>year</tt>, <tt>month</tt>, and * <tt>dayOfMonth</tt> fields set in the default time zone with the default * locale. * * @return * This calendar date as a <tt>GregorianCalendar</tt>. */ public GregorianCalendar toCalendar() { return toCalendar(new Time(0, 0, 0)); }
/** * Creates a new <tt>CalendarDateSpinnerData</tt> bounded from * <tt>1900-01-01</tt> to <tt>2099-12-31</tt>. */ public CalendarDateSpinnerData() { this(new CalendarDate(1900, 0, 0), new CalendarDate(2099, 11, 30)); }
@Override public Iterator<T> iterator() { return new NodeIterator(); }
@Override public boolean equals(Object object) { return (object instanceof Version && compareTo((Version)object) == 0); }