Calendar function ( double arg0 ) { if ( Double . compare ( arg0 , Double . NaN ) == 0 || arg0 == 0 ) { return null ; } long loc0 = ( long ) ( ( arg0 + 0.5 - J1970 ) * MILLISECONDS_PER_DAY ) ; Calendar loc1 = Calendar . getInstance ( ) ; loc1 . setTimeInMillis ( loc0 ) ; return DateUtils . round ( loc1 , Calendar . MINUTE ) ; }
returns a calendar object from a julian date . concode_field_sep double J1970 concode_elem_sep double MILLISECONDS_PER_DAY concode_field_sep double midnightDateToJulianDate concode_elem_sep double endOfDayDateToJulianDate concode_elem_sep Calendar truncateToMidnight concode_elem_sep Range getRange concode_elem_sep double dateToJulianDate concode_elem_sep double getDecimalYear concode_elem_sep Date getDate concode_elem_sep Calendar getNext concode_elem_sep Calendar getFirstDayOfNextYear concode_elem_sep boolean isSameDay concode_elem_sep Calendar timeToCalendar