public static Calendar toCalendar ( final long millis ) { final Calendar calendar = Calendar . getInstance ( ) ; calendar . setTimeInMillis ( millis ) ; return calendar ; }
Converts the given long value to a calendar object .