| Package | Description |
|---|---|
| org.hl7.fhir.instance.model |
| Modifier and Type | Field and Description |
|---|---|
static TemporalPrecisionEnum |
InstantType.DEFAULT_PRECISION
The default precision for this type
|
static TemporalPrecisionEnum |
DateType.DEFAULT_PRECISION
The default precision for this type
|
static TemporalPrecisionEnum |
DateTimeType.DEFAULT_PRECISION
The default precision for this type
|
| Modifier and Type | Method and Description |
|---|---|
protected TemporalPrecisionEnum |
InstantType.getDefaultPrecisionForDatatype()
Returns the default precision for this datatype
|
protected abstract TemporalPrecisionEnum |
BaseDateTimeType.getDefaultPrecisionForDatatype()
Returns the default precision for the given datatype
|
protected TemporalPrecisionEnum |
DateType.getDefaultPrecisionForDatatype()
Returns the default precision for this datatype
|
protected TemporalPrecisionEnum |
DateTimeType.getDefaultPrecisionForDatatype()
Returns the default precision for this datatype
|
TemporalPrecisionEnum |
BaseDateTimeType.getPrecision()
Gets the precision for this datatype (using the default for the given type if not set)
|
static TemporalPrecisionEnum |
TemporalPrecisionEnum.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemporalPrecisionEnum[] |
TemporalPrecisionEnum.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BaseDateTimeType.setPrecision(TemporalPrecisionEnum thePrecision)
Sets the precision for this datatype using field values from
Calendar. |
void |
BaseDateTimeType.setValue(Date theValue,
TemporalPrecisionEnum thePrecision)
Sets the value of this date/time using the specified level of precision
using the system local time zone
|
| Constructor and Description |
|---|
BaseDateTimeType(Date theDate,
TemporalPrecisionEnum thePrecision)
Constructor
|
BaseDateTimeType(Date theDate,
TemporalPrecisionEnum thePrecision,
TimeZone theTimeZone)
Constructor
|
DateTimeType(Date theDate,
TemporalPrecisionEnum thePrecision)
Constructor which accepts a date value and a precision value.
|
DateTimeType(Date theDate,
TemporalPrecisionEnum thePrecision,
TimeZone theTimezone)
Constructor which accepts a date value, precision value, and time zone.
|
DateType(Date theDate,
TemporalPrecisionEnum thePrecision)
Constructor which accepts a date value and a precision value.
|
InstantType(Date theDate,
TemporalPrecisionEnum thePrecision)
Constructor which accepts a date value and a precision value.
|
InstantType(Date theDate,
TemporalPrecisionEnum thePrecision,
TimeZone theTimezone)
Create a new instance using the given date, precision level, and time zone
|
Copyright © 2014–2018 University Health Network. All rights reserved.