Package ca.uhn.fhir.model.api
Enum TemporalPrecisionEnum
- All Implemented Interfaces:
Serializable
,Comparable<TemporalPrecisionEnum>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Date
int
int
Given the standard string representation - YYYY-DD-MMTHH:NN:SS.SSS - how long is the string for the stated precision?static TemporalPrecisionEnum
Returns the enum constant of this type with the specified name.static TemporalPrecisionEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
YEAR
-
MONTH
-
DAY
-
MINUTE
-
SECOND
-
MILLI
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
add
-
getCalendarConstant
-
stringLength
Given the standard string representation - YYYY-DD-MMTHH:NN:SS.SSS - how long is the string for the stated precision?
-