Merge branch 'master' of github.com:jamesagnew/hapi-fhir

This commit is contained in:
James Agnew 2015-02-03 10:40:25 -05:00
commit 309ba79c6f
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());
}