Enum V3CalendarCycle
- java.lang.Object
-
- java.lang.Enum<V3CalendarCycle>
-
- org.hl7.fhir.r4.model.codesystems.V3CalendarCycle
-
- All Implemented Interfaces:
Serializable,Comparable<V3CalendarCycle>
public enum V3CalendarCycle extends Enum<V3CalendarCycle>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description _CALENDARCYCLEONELETTERCalendarCycleOneLetter_CALENDARCYCLETWOLETTERCalendarCycleTwoLetterCDday (continuous)CHhour (continuous)CMmonth (continuous)CNminute (continuous)CSsecond (continuous)CWweek (continuous)CYyearDday of the monthDWday of the week (begins with Monday)DYday of the yearHhour of the dayMmonth of the yearNminute of the hourNULLadded to help the parsersSsecond of the minuteWMThe week with the month's first Thursday in it (analagous to the ISO 8601 definition for week of the year).WYweek of the year
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static V3CalendarCyclefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static V3CalendarCyclevalueOf(String name)Returns the enum constant of this type with the specified name.static V3CalendarCycle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_CALENDARCYCLEONELETTER
public static final V3CalendarCycle _CALENDARCYCLEONELETTER
CalendarCycleOneLetter
-
CW
public static final V3CalendarCycle CW
week (continuous)
-
CY
public static final V3CalendarCycle CY
year
-
D
public static final V3CalendarCycle D
day of the month
-
DW
public static final V3CalendarCycle DW
day of the week (begins with Monday)
-
H
public static final V3CalendarCycle H
hour of the day
-
M
public static final V3CalendarCycle M
month of the year
-
N
public static final V3CalendarCycle N
minute of the hour
-
S
public static final V3CalendarCycle S
second of the minute
-
_CALENDARCYCLETWOLETTER
public static final V3CalendarCycle _CALENDARCYCLETWOLETTER
CalendarCycleTwoLetter
-
CD
public static final V3CalendarCycle CD
day (continuous)
-
CH
public static final V3CalendarCycle CH
hour (continuous)
-
CM
public static final V3CalendarCycle CM
month (continuous)
-
CN
public static final V3CalendarCycle CN
minute (continuous)
-
CS
public static final V3CalendarCycle CS
second (continuous)
-
DY
public static final V3CalendarCycle DY
day of the year
-
WY
public static final V3CalendarCycle WY
week of the year
-
WM
public static final V3CalendarCycle WM
The week with the month's first Thursday in it (analagous to the ISO 8601 definition for week of the year).
-
NULL
public static final V3CalendarCycle NULL
added to help the parsers
-
-
Method Detail
-
values
public static V3CalendarCycle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (V3CalendarCycle c : V3CalendarCycle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static V3CalendarCycle valueOf(String name)
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
-
fromCode
public static V3CalendarCycle fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-