
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
Constructors -
Method Summary
Methods inherited from class ca.uhn.fhir.model.primitive.StringDt
encode, equals, getMissing, getQueryParameterQualifier, getValueAsQueryToken, getValueNotNull, hashCode, isEmpty, parse, setMissing, setValueAsQueryToken, toStringMethods inherited from class ca.uhn.fhir.model.api.BasePrimitive
getValue, getValueAsString, hasValue, readExternal, setValue, setValueAsString, updateStringValue, writeExternalMethods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setIdMethods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface ca.uhn.fhir.model.api.IQueryParameterType
getMissing, getQueryParameterQualifier, getValueAsQueryToken, getValueAsQueryToken, isEmpty, setMissing, setValueAsQueryToken
-
Constructor Details
-
TimeDt
public TimeDt()Create a new String -
TimeDt
Create a new String
-