Date function ( ) { long loc0 = System . currentTimeMillis ( ) ; if ( loc0 - today . getTime ( ) > 24 * 3600 * 1000 ) { resetToday ( ) ; } return today ; }
returns the same date object . this object should be treated as read-only . concode_field_sep SimpleDateFormat sdfd concode_elem_sep SimpleDateFormat sdfts concode_elem_sep String sdfdPattern concode_elem_sep String sdftsPattern concode_elem_sep SimpleDateFormat sdft concode_elem_sep Date today concode_elem_sep Date tempDate concode_elem_sep String sdftPattern concode_field_sep Date dateValue concode_elem_sep String getDateString concode_elem_sep void resetToTime concode_elem_sep void resetToday concode_elem_sep void resetToDate concode_elem_sep Time getTime concode_elem_sep Timestamp getTimestamp concode_elem_sep Timestamp timestampValue concode_elem_sep Timestamp timestampValue concode_elem_sep java.sql.Date getDate concode_elem_sep String getTimestampString concode_elem_sep Time timeValue concode_elem_sep String getTimeString