this method resets the date part of a date time value to a standard date 1/1/1 . this is used to allow times to be compared and manipulated . concode_field_sep Date FIRST_DATE concode_elem_sep boolean HAS_DST_SAVINGS concode_elem_sep Date LAST_DATE concode_elem_sep int DEFAULT_DST_SAVINGS concode_elem_sep Date CANONICAL_EPOCH concode_field_sep Date getTimeFromMinutesPastMidnight concode_elem_sep Date getDayEndDate concode_elem_sep int compare concode_elem_sep int compare concode_elem_sep int compare concode_elem_sep Date getDateFromLong concode_elem_sep Date getTime concode_elem_sep Duration getVariance concode_elem_sep Date getTimestampFromLong concode_elem_sep Date getDayStartDate concode_elem_sep void setTime concode_elem_sep Date setTime
Date function ( Date arg0 ) { if ( arg0 != null ) { Calendar loc0 = Calendar . getInstance ( ) ; loc0 . setTime ( arg0 ) ; loc0 . set ( Calendar . DAY_OF_YEAR , 1 ) ; loc0 . set ( Calendar . YEAR , 1 ) ; loc0 . set ( Calendar . MILLISECOND , 0 ) ; arg0 = loc0 . getTime ( ) ; } return ( arg0 ) ; }