public Date getDate() {
    double secs = timeUnit.getValueInSeconds(value);
    return new Date(getDateOrigin().getTime() + (long) (1000 * secs));
  }
public Date getDate() {
    double secs = timeUnit.getValueInSeconds(value);
    return new Date(getDateOrigin().getTime() + (long) (1000 * secs));
  }
public Date getDate ( ) { double secs = timeUnit . getValueInSeconds ( value ) ; return new Date ( getDateOrigin ( ) . getTime ( ) + ( long ) ( 1000 * secs ) ) ; }
Get the equivalent java.util.Date.

@return Date or null if failure
Get the equivalent java . util . Date .