FhirDateTimeX extension
- on
-
- FhirDateTime
Methods
-
toInstant(
) → Instant -
Available on FhirDateTime, provided by the FhirDateTimeX extension
Converts aFhirDateTimeto anInstantusing the FHIR date time pattern. It first attempts to parse the string using the extended ISO 8601 format. If unsuccessful, it will try the general ISO 8601 format. If both fail, it will try the FHIR specific format. The FHIR time stamp MUST have a time zone offset or UTC "Z" specification, otherwise an exception is thrown. -
toLocalDate(
) → LocalDate -
Available on FhirDateTime, provided by the FhirDateTimeX extension
Converts aFhirDateto aLocalDate -
toLocalDateTime(
) → LocalDateTime -
Available on FhirDateTime, provided by the FhirDateTimeX extension
Converts aFhirDateTimeto aLocalDateTime