private void clearUnusedPrecision ( ) { switch ( _precision ) { case YEAR : _month = 1 ; case MONTH : _day = 1 ; case DAY : _hour = 0 ; _minute = 0 ; case MINUTE : _second = 0 ; _fraction = null ; case SECOND : } }
Clears any fields more precise than this Timestamp s precision supports .