public void setHODate(String value) {
        Calendar cal = Calendar.getInstance();
        cal.setTimeZone(TimeZone.getDefault());
        String[] pcs = value.split("\\,", 2);
        long ms = (Long.parseLong(pcs[0]) - 47116) * 24 * 60 * 60 * 1000;
        cal.setTimeInMillis(ms);
        hasTime = pcs.length == 2;
        
        if (hasTime) {
            int frac = Integer.parseInt(pcs[1]);
            cal.set(Calendar.SECOND, frac % 60);
            frac /= 60;
            cal.set(Calendar.MINUTE, frac % 60);
            frac /= 60;
            cal.set(Calendar.HOUR, frac);
        }
        
        setTime(cal.getTimeInMillis());
    }
public void setHODate ( String value ) { Calendar cal = Calendar . getInstance ( ) ; cal . setTimeZone ( TimeZone . getDefault ( ) ) ; String [ ] pcs = value . split ( "\\," , 2 ) ; long ms = ( Long . parseLong ( pcs [ 0 ] ) - 47116 ) * 24 * 60 * 60 * 1000 ; cal . setTimeInMillis ( ms ) ; hasTime = pcs . length == 2 ; if ( hasTime ) { int frac = Integer . parseInt ( pcs [ 1 ] ) ; cal . set ( Calendar . SECOND , frac % 60 ) ; frac /= 60 ; cal . set ( Calendar . MINUTE , frac % 60 ) ; frac /= 60 ; cal . set ( Calendar . HOUR , frac ) ; } setTime ( cal . getTimeInMillis ( ) ) ; }
Sets the date to the value corresponding to the $H value.

@param value $H-formatted date.