public enum DateTimeRoundingFrequency extends Enum<DateTimeRoundingFrequency>
Enum Constant and Description |
---|
DAY |
HOUR |
MICROSECOND |
MILLISECOND |
MINUTE |
NANOSECOND |
SECOND |
Modifier and Type | Method and Description |
---|---|
int |
getNativeId() |
static DateTimeRoundingFrequency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeRoundingFrequency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimeRoundingFrequency DAY
public static final DateTimeRoundingFrequency HOUR
public static final DateTimeRoundingFrequency MINUTE
public static final DateTimeRoundingFrequency SECOND
public static final DateTimeRoundingFrequency MILLISECOND
public static final DateTimeRoundingFrequency MICROSECOND
public static final DateTimeRoundingFrequency NANOSECOND
public static DateTimeRoundingFrequency[] values()
for (DateTimeRoundingFrequency c : DateTimeRoundingFrequency.values()) System.out.println(c);
public static DateTimeRoundingFrequency valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getNativeId()
Copyright © 2024. All rights reserved.