/** * Constructor */ public DateParam(ParamPrefixEnum thePrefix, long theDate) { ValidateUtil.isGreaterThan(theDate, 0, "theDate must not be 0 or negative"); setPrefix(thePrefix); setValue(new Date(theDate)); }
/** * Constructor */ public DateParam(ParamPrefixEnum thePrefix, long theDate) { ValidateUtil.isGreaterThan(theDate, 0, "theDate must not be 0 or negative"); setPrefix(thePrefix); setValue(new Date(theDate)); }