cdm/src/main/java/ucar/nc2/time/CalendarDate.java
public static CalendarDate parseISOformat(String calendarName, String isoDateString) {
    Calendar cal = Calendar.get(calendarName);
    if (cal == null) cal = Calendar.getDefault();
	  return CalendarDateFormatter.isoStringToCalendarDate(cal, isoDateString);
  }
public static CalendarDate parseISOformat(String calendarName, String isoDateString) {
    Calendar cal = Calendar.get(calendarName);
    if (cal == null) cal = Calendar.getDefault();
	  return CalendarDateFormatter.isoStringToCalendarDate(cal, isoDateString);
  }
public static CalendarDate parseISOformat ( String calendarName , String isoDateString ) { Calendar cal = Calendar . get ( calendarName ) ; if ( cal == null ) cal = Calendar . getDefault ( ) ; return CalendarDateFormatter . isoStringToCalendarDate ( cal , isoDateString ) ; }
Get CalendarDate from ISO date string
@param calendarName get Calendar from Calendar.get(calendarName). may be null
@param isoDateString ISO date string
@return  CalendarDate
Get CalendarDate from ISO date string