public static enum DateTimeUtils.Precision extends java.lang.Enum<DateTimeUtils.Precision>
Enum Constant and Description |
---|
CENTURIES |
DAYS |
HOURS |
MILLISECONDS |
MINUTES |
MONTHS |
SECONDS |
YEARS |
Modifier and Type | Method and Description |
---|---|
static DateTimeUtils.Precision |
getPrecision(char aPrecision) |
static DateTimeUtils.Precision |
getPrecision(java.lang.String aPrecision) |
static DateTimeUtils.Precision |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeUtils.Precision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimeUtils.Precision MILLISECONDS
public static final DateTimeUtils.Precision SECONDS
public static final DateTimeUtils.Precision MINUTES
public static final DateTimeUtils.Precision HOURS
public static final DateTimeUtils.Precision DAYS
public static final DateTimeUtils.Precision MONTHS
public static final DateTimeUtils.Precision YEARS
public static final DateTimeUtils.Precision CENTURIES
public static DateTimeUtils.Precision[] values()
for (DateTimeUtils.Precision c : DateTimeUtils.Precision.values()) System.out.println(c);
public static DateTimeUtils.Precision valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static DateTimeUtils.Precision getPrecision(java.lang.String aPrecision)
public static DateTimeUtils.Precision getPrecision(char aPrecision)
Copyright © 2018 Pegasystems Inc. All Rights Reserved.