Package org.hl7.fhir.utilities
Class DateTimeUtil
java.lang.Object
org.hl7.fhir.utilities.DateTimeUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IntegergetDatePrecision(String value) static IntegergetTimePrecision(String value) static StringhighBoundaryForDate(String value, int precision) static StringhighBoundaryForTime(String value, int precision) static StringlowBoundaryForDate(String value, int precision) static StringlowBoundaryForTime(String value, int precision) static StringtoHumanDisplay(Locale locale, TimeZone theTimeZone, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision, Date theValue) static StringtoHumanDisplay(TimeZone theTimeZone, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision, Date theValue, String theValueAsString) static StringtoHumanDisplayLocalTimezone(ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision, Date theValue, String theValueAsString)
-
Constructor Details
-
DateTimeUtil
public DateTimeUtil()
-
-
Method Details
-
toHumanDisplay
public static String toHumanDisplay(TimeZone theTimeZone, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision, Date theValue, String theValueAsString) -
toHumanDisplayLocalTimezone
public static String toHumanDisplayLocalTimezone(ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision, Date theValue, String theValueAsString) -
toHumanDisplay
public static String toHumanDisplay(Locale locale, TimeZone theTimeZone, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision, Date theValue) -
lowBoundaryForDate
-
lowBoundaryForTime
-
highBoundaryForTime
-
highBoundaryForDate
-
getDatePrecision
-
getTimePrecision
-