Package ca.uhn.fhir.model.primitive
Class TimeDt
java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.api.BasePrimitive<String>
ca.uhn.fhir.model.primitive.StringDt
ca.uhn.fhir.model.primitive.TimeDt
- All Implemented Interfaces:
IDatatype
,IElement
,IIdentifiableElement
,IPrimitiveDatatype<String>
,IQueryParameterType
,ISupportsUndeclaredExtensions
,Externalizable
,Serializable
,IBase
,IBaseDatatype
,IPrimitiveType<String>
Represents a Time datatype, per the FHIR specification. A time is a specification of hours and minutes (and optionally milliseconds), with NO date and NO timezone information attached. It is
expressed as a string in the form
HH:mm:ss[.SSSS]
This datatype is not valid in FHIR DSTU1
- Since:
- FHIR DSTU 2 / HAPI 0.8 TODO: have a way of preventing this from being used in DSTU1 resources TODO: validate time?
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class ca.uhn.fhir.model.primitive.StringDt
encode, equals, getMissing, getQueryParameterQualifier, getValueAsQueryToken, getValueNotNull, hashCode, isEmpty, parse, setMissing, setValueAsQueryToken, toString
Methods inherited from class ca.uhn.fhir.model.api.BasePrimitive
getValue, getValueAsString, hasValue, readExternal, setValue, setValueAsString, 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
Methods inherited from interface ca.uhn.fhir.model.api.IQueryParameterType
getMissing, getQueryParameterQualifier, getValueAsQueryToken, setMissing, setValueAsQueryToken
-
Constructor Details
-
TimeDt
public TimeDt()Create a new String -
TimeDt
Create a new String
-