public static enum DateVariant.DateOffset extends Enum<DateVariant.DateOffset>
| Modifier and Type | Method and Description |
|---|---|
static DateVariant.DateOffset |
getByLabel(String label) |
int |
getOffset() |
int |
getOffset(int multiplier) |
static DateVariant.DateOffset |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateVariant.DateOffset[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateVariant.DateOffset BEFORE
public static final DateVariant.DateOffset ON
public static final DateVariant.DateOffset AFTER
public static DateVariant.DateOffset[] values()
for (DateVariant.DateOffset c : DateVariant.DateOffset.values()) System.out.println(c);
public static DateVariant.DateOffset 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 getOffset()
public int getOffset(int multiplier)
public static DateVariant.DateOffset getByLabel(String label)
Copyright © 2016. All rights reserved.