From 8eb659cf27260dbd104399adcfbc05a9009b7c30 Mon Sep 17 00:00:00 2001 From: Tom Wilson Date: Mon, 26 Jan 2015 13:17:22 -0800 Subject: [PATCH] Update DateClientParam.java method "second" has been using DAY precision. --- .../main/java/ca/uhn/fhir/rest/gclient/DateClientParam.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/gclient/DateClientParam.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/gclient/DateClientParam.java index bc457d4e1a6..2fbdcc30542 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/gclient/DateClientParam.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/gclient/DateClientParam.java @@ -112,14 +112,14 @@ public class DateClientParam implements IParam { @Override public ICriterion 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 second(String theValue) { DateTimeDt dt = new DateTimeDt(theValue); - dt.setPrecision(TemporalPrecisionEnum.DAY); + dt.setPrecision(TemporalPrecisionEnum.SECOND); return new Criterion(myPrefix + dt.getValueAsString()); }