
Package ca.uhn.fhir.rest.param
Class DateParam.DateParamDateTimeHolder
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.api.BasePrimitive<Date>
-
- ca.uhn.fhir.model.primitive.BaseDateTimeDt
-
- ca.uhn.fhir.rest.param.DateParam.DateParamDateTimeHolder
-
- All Implemented Interfaces:
IDatatype
,IElement
,IIdentifiableElement
,IPrimitiveDatatype<Date>
,ISupportsUndeclaredExtensions
,Externalizable
,Serializable
,IBase
,IBaseDatatype
,IPrimitiveType<Date>
- Enclosing class:
- DateParam
public static class DateParam.DateParamDateTimeHolder extends BaseDateTimeDt
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class ca.uhn.fhir.model.primitive.BaseDateTimeDt
NOW_DATE_CONSTANT, TODAY_DATE_CONSTANT
-
-
Constructor Summary
Constructors Constructor Description DateParamDateTimeHolder()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TemporalPrecisionEnum
getDefaultPrecisionForDatatype()
Returns the default precision for the given datatypeprotected boolean
isPrecisionAllowed(TemporalPrecisionEnum thePrecision)
To be implemented by subclasses to indicate whether the given precision is allowed by this type-
Methods inherited from class ca.uhn.fhir.model.primitive.BaseDateTimeDt
encode, getDay, getHour, getMillis, getMinute, getMonth, getNanos, getPrecision, getSecond, getTimeZone, getValueAsCalendar, getYear, isTimeZoneZulu, isToday, parse, setDay, setHour, setMillis, setMinute, setMonth, setNanos, setPrecision, setSecond, setTimeZone, setTimeZoneZulu, setValue, setValue, setValueAsString, setYear, toHumanDisplay, toHumanDisplayLocalTimezone
-
Methods inherited from class ca.uhn.fhir.model.api.BasePrimitive
equals, getValue, getValueAsString, hashCode, hasValue, isEmpty, readExternal, toString, updateStringValue, writeExternal
-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
-
-
-
Constructor Detail
-
DateParamDateTimeHolder
public DateParamDateTimeHolder()
Constructor
-
-
Method Detail
-
getDefaultPrecisionForDatatype
protected TemporalPrecisionEnum getDefaultPrecisionForDatatype()
Description copied from class:BaseDateTimeDt
Returns the default precision for the given datatype- Specified by:
getDefaultPrecisionForDatatype
in classBaseDateTimeDt
-
isPrecisionAllowed
protected boolean isPrecisionAllowed(TemporalPrecisionEnum thePrecision)
Description copied from class:BaseDateTimeDt
To be implemented by subclasses to indicate whether the given precision is allowed by this type- Specified by:
isPrecisionAllowed
in classBaseDateTimeDt
-
-