cdm/src/main/java/ucar/nc2/time/CalendarDateFormatter.java
static public String toDateTimeStringISO(CalendarDate cd) {
	
	 if(cd.getDateTime().getMillisOfSecond() == 0)
		 return isof.print( cd.getDateTime() );
	 else
		 return isof_with_millis_of_second.print(cd.getDateTime());
	 
  }
static public String toDateTimeStringISO(CalendarDate cd) {
	
	 if(cd.getDateTime().getMillisOfSecond() == 0)
		 return isof.print( cd.getDateTime() );
	 else
		 return isof_with_millis_of_second.print(cd.getDateTime());
	 
  }
static public String toDateTimeStringISO ( CalendarDate cd ) { if ( cd . getDateTime ( ) . getMillisOfSecond ( ) == 0 ) return isof . print ( cd . getDateTime ( ) ) ; else return isof_with_millis_of_second . print ( cd . getDateTime ( ) ) ; }
udunits
udunits