Example #1
0
 /**
  * A method used to set the date externally (not through {@link DateChooser}).
  *
  * @param calendar The calendar to clone.
  */
 void setDate(GregorianCalendar calendar) {
   this.calendar = (GregorianCalendar) calendar.clone();
   refresh();
 }