Date function ( Date arg0 , Resolution arg1 ) { return new Date ( round ( arg0 . getTime ( ) , arg1 ) ) ; }
limit a date 's resolution . for example , the date 2004-09-21 13:50:11 will be changed to 2004-09-01 00:00:00 when using resolution.month . concode_field_sep ThreadLocal<SimpleDateFormat[]> TL_FORMATS concode_elem_sep int formatLen concode_elem_sep SimpleDateFormat format concode_elem_sep TimeZone GMT concode_elem_sep ThreadLocal<Calendar> TL_CAL concode_field_sep Date stringToDate concode_elem_sep String timeToString concode_elem_sep String toString concode_elem_sep long stringToTime concode_elem_sep Calendar initialValue concode_elem_sep SimpleDateFormat[] initialValue concode_elem_sep String dateToString