public enum TenorPrecision extends Enum<TenorPrecision>
Modifier and Type | Method and Description |
---|---|
char |
getTenorChar() |
static TenorPrecision |
getTenorPrecisionFromChar(char ch) |
static TenorPrecision |
getTenorPrecisionFromPeriod(Period period) |
static TenorPrecision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TenorPrecision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TenorPrecision YEAR
public static final TenorPrecision MONTH
public static final TenorPrecision WEEK
public static final TenorPrecision DAY
public static TenorPrecision[] values()
for (TenorPrecision c : TenorPrecision.values()) System.out.println(c);
public static TenorPrecision 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 char getTenorChar()
public static TenorPrecision getTenorPrecisionFromPeriod(Period period)
public static TenorPrecision getTenorPrecisionFromChar(char ch)
Copyright © 2000–2022 EPAM Systems. All rights reserved.