Package ai.rapids.cudf
Enum DateTimeComponent
- All Implemented Interfaces:
Serializable
,Comparable<DateTimeComponent>
,java.lang.constant.Constable
Types of datetime components that may be extracted.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDay of the month as an INT16hour of the day 24-hour clock as an INT16microseconds past the millisecond as an INT16milliseconds past the seconds as an INT16minutes past the hour as an INT16month 1 - jan, as an INT16nanoseconds past the microsecond as an INT16seconds past the minute as an INT16day of the week, Monday=1, ..., Sunday=7 as an INT16year as an INT16 -
Method Summary
Modifier and TypeMethodDescriptionint
static DateTimeComponent
Returns the enum constant of this type with the specified name.static DateTimeComponent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
YEAR
year as an INT16 -
MONTH
month 1 - jan, as an INT16 -
DAY
Day of the month as an INT16 -
WEEKDAY
day of the week, Monday=1, ..., Sunday=7 as an INT16 -
HOUR
hour of the day 24-hour clock as an INT16 -
MINUTE
minutes past the hour as an INT16 -
SECOND
seconds past the minute as an INT16 -
MILLISECOND
milliseconds past the seconds as an INT16 -
MICROSECOND
microseconds past the millisecond as an INT16 -
NANOSECOND
nanoseconds past the microsecond as an INT16
-
-
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
-
getNativeId
public int getNativeId()
-