Update DateClientParam.java

method "second" has been using DAY precision.
This commit is contained in:
Tom Wilson 2015-01-26 13:17:22 -08:00
parent b36932aed4
commit 8eb659cf27
1 changed files with 2 additions and 2 deletions

View File

@ -112,14 +112,14 @@ public class DateClientParam implements IParam {
@Override
public ICriterion<DateClientParam> second(Date theValue) {
DateTimeDt dt = new DateTimeDt(theValue);
dt.setPrecision(TemporalPrecisionEnum.DAY);
dt.setPrecision(TemporalPrecisionEnum.SECOND);
return new Criterion(myPrefix + dt.getValueAsString());
}
@Override
public ICriterion<DateClientParam> second(String theValue) {
DateTimeDt dt = new DateTimeDt(theValue);
dt.setPrecision(TemporalPrecisionEnum.DAY);
dt.setPrecision(TemporalPrecisionEnum.SECOND);
return new Criterion(myPrefix + dt.getValueAsString());
}