cdm/src/main/java/ucar/nc2/time/CalendarDate.java
public static CalendarDate of(java.util.Date date) {
    DateTime dt = new DateTime(date, DateTimeZone.UTC) ;
    return new CalendarDate(null, dt);
  }
public static CalendarDate of(java.util.Date date) {
    DateTime dt = new DateTime(date, DateTimeZone.UTC) ;
    return new CalendarDate(null, dt);
  }
public static CalendarDate of ( java . util . Date date ) { DateTime dt = new DateTime ( date , DateTimeZone . UTC ) ; return new CalendarDate ( null , dt ) ; }
Create CalendarDate from a java.util.Date.
Uses standard Calendar.
@param date java.util.Date
@return CalendarDate in UTC
Create CalendarDate from a java . util . Date . Uses standard Calendar .