public enum DatePickerRange extends Enum<DatePickerRange>
Enum Constant and Description |
---|
Last24Hours |
Last30Days |
Last7Days |
LastHour |
Today |
Modifier and Type | Method and Description |
---|---|
static Optional<DatePickerRange> |
getDatePickerRangeFromLabel(String label) |
org.uberfire.client.views.pfly.widgets.Moment |
getEndDate() |
String |
getLabel() |
org.uberfire.client.views.pfly.widgets.Moment |
getStartDate() |
static DatePickerRange |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatePickerRange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatePickerRange LastHour
public static final DatePickerRange Today
public static final DatePickerRange Last24Hours
public static final DatePickerRange Last7Days
public static final DatePickerRange Last30Days
public static DatePickerRange[] values()
for (DatePickerRange c : DatePickerRange.values()) System.out.println(c);
public static DatePickerRange 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 static Optional<DatePickerRange> getDatePickerRangeFromLabel(String label)
public String getLabel()
public org.uberfire.client.views.pfly.widgets.Moment getStartDate()
public org.uberfire.client.views.pfly.widgets.Moment getEndDate()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.