| Package | Description |
|---|---|
| ca.uhn.fhir.model.api | |
| ca.uhn.fhir.model.primitive | |
| ca.uhn.fhir.rest.param |
| Modifier and Type | Method and Description |
|---|---|
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 | Field and Description |
|---|---|
static TemporalPrecisionEnum |
DateTimeDt.DEFAULT_PRECISION
The default precision for this type
|
static TemporalPrecisionEnum |
InstantDt.DEFAULT_PRECISION
The default precision for this type
|
static TemporalPrecisionEnum |
DateDt.DEFAULT_PRECISION
The default precision for this type
|
| Modifier and Type | Method and Description |
|---|---|
protected TemporalPrecisionEnum |
DateTimeDt.getDefaultPrecisionForDatatype()
Returns the default precision for this datatype
|
protected TemporalPrecisionEnum |
InstantDt.getDefaultPrecisionForDatatype()
Returns the default precision for this datatype
|
protected TemporalPrecisionEnum |
DateDt.getDefaultPrecisionForDatatype()
Returns the default precision for this datatype
|
protected abstract TemporalPrecisionEnum |
BaseDateTimeDt.getDefaultPrecisionForDatatype()
Returns the default precision for the given datatype
|
TemporalPrecisionEnum |
BaseDateTimeDt.getPrecision()
Gets the precision for this datatype (using the default for the given type if not set)
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
DateTimeDt.isPrecisionAllowed(TemporalPrecisionEnum thePrecision) |
protected boolean |
InstantDt.isPrecisionAllowed(TemporalPrecisionEnum thePrecision) |
protected boolean |
DateDt.isPrecisionAllowed(TemporalPrecisionEnum thePrecision) |
protected abstract boolean |
BaseDateTimeDt.isPrecisionAllowed(TemporalPrecisionEnum thePrecision)
To be implemented by subclasses to indicate whether the given precision is allowed by this type
|
BaseDateTimeDt |
BaseDateTimeDt.setPrecision(TemporalPrecisionEnum thePrecision)
Sets the precision for this datatype
|
void |
BaseDateTimeDt.setValue(Date theValue,
TemporalPrecisionEnum thePrecision)
Sets the value for this type using the given Java Date object as the time, and using the specified precision, as
well as the local timezone as determined by the local operating system.
|
| Constructor and Description |
|---|
BaseDateTimeDt(Date theDate,
TemporalPrecisionEnum thePrecision)
Constructor
|
BaseDateTimeDt(Date theDate,
TemporalPrecisionEnum thePrecision,
TimeZone theTimeZone)
Constructor
|
DateDt(Date theDate,
TemporalPrecisionEnum thePrecision)
Constructor which accepts a date value and a precision value.
|
DateTimeDt(Date theDate,
TemporalPrecisionEnum thePrecision)
Constructor which accepts a date value and a precision value.
|
DateTimeDt(Date theDate,
TemporalPrecisionEnum thePrecision,
TimeZone theTimezone)
Constructor which accepts a date value, precision value, and time zone.
|
InstantDt(Date theDate,
TemporalPrecisionEnum thePrecision)
Constructor which accepts a date value and a precision value.
|
InstantDt(Date theDate,
TemporalPrecisionEnum thePrecision,
TimeZone theTimezone)
Create a new instance using the given date, precision level, and time zone
|
| Modifier and Type | Method and Description |
|---|---|
protected TemporalPrecisionEnum |
DateParam.DateParamDateTimeHolder.getDefaultPrecisionForDatatype() |
TemporalPrecisionEnum |
DateParam.getPrecision() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
DateParam.DateParamDateTimeHolder.isPrecisionAllowed(TemporalPrecisionEnum thePrecision) |
Copyright © 2014–2017 University Health Network. All rights reserved.