public enum OutputDateType extends Enum<OutputDateType>
| Enum Constant and Description |
|---|
EPOCH_SECONDS
Output date as number of seconds since 1 January 1970 as java double.
|
JAVA_DATE_LEGACY
Outputs date as java.util.Date for date and datetime formats.
|
JAVA_TEMPORAL
Outputs date as LocalDate and LocalDateTime for date and datetime formats.
|
SAS_FORMAT_EXPERIMENTAL
Output date as String formatted according to
column format defined in the source SAS file.
|
SAS_FORMAT_TRIM_EXPERIMENTAL
Same as SAS_FORMAT, but result doesn't have leading spaces
(trimmed, as the SAS Universal Viewer outputs by default).
|
SAS_VALUE
Output date as raw SAS value.
|
| Modifier and Type | Method and Description |
|---|---|
static OutputDateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OutputDateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OutputDateType JAVA_DATE_LEGACY
public static final OutputDateType JAVA_TEMPORAL
public static final OutputDateType SAS_FORMAT_EXPERIMENTAL
Not all formats are yet supported and there is a slight difference between SAS and Parso results (at least in rounding), so this option is marked as experimental.
public static final OutputDateType SAS_FORMAT_TRIM_EXPERIMENTAL
public static final OutputDateType SAS_VALUE
public static final OutputDateType EPOCH_SECONDS
public static OutputDateType[] values()
for (OutputDateType c : OutputDateType.values()) System.out.println(c);
public static OutputDateType 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 nullCopyright © 2021. All rights reserved.