Sets the PrimitiveType's value of the provided dt argument as an ISO datetime string excluding milliseconds from the format if they are 0
DateTime object from which to obtain a string value
this
InvalidDateTimeError for an invalid dt argument
Sets the PrimitiveType's value of the provided dt argument as an ISO datetime string including milliseconds
DateTime object from which to obtain a string value
this
InvalidDateTimeError for an invalid dt argument
Returns a Luxon DateTime object for the PrimitiveType's getValue().
Optionalopts: DateTimeUtil.DateTimeOptsOptional DateTime options object to affect the creation of the DateTime instance
an instance of a DateTime object
InvalidDateTimeError if the instantiated DataTime object is invalid
Returns a Luxon DateTime object having the UTC time zone for the PrimitiveType's getValue().
an instance of a DateTime object having the UTC time zone
InvalidDateTimeError if the instantiated DataTime object is invalid
Sets the PrimitiveType's value of the provided dt argument as 'YYYY'
DateTime object from which to obtain a string value
this
InvalidDateTimeError for an invalid dt argument
Sets the PrimitiveType's value of the provided dt argument as 'YYYY-MM'
DateTime object from which to obtain a string value
this
InvalidDateTimeError for an invalid dt argument
Sets the PrimitiveType's value of the provided dt argument as 'YYYY-MM-DD'
DateTime object from which to obtain a string value
this
InvalidDateTimeError for an invalid dt argument
FHIR Primitive DateTimeType implementation supporting Luxon DateTime object
See
Luxon