Enum Class TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype
java.lang.Object
java.lang.Enum<TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype>
com.oracle.truffle.js.builtins.temporal.TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype
- All Implemented Interfaces:
BuiltinEnum<TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype>, Serializable, Comparable<TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype>, Constable
- Enclosing class:
TemporalPlainYearMonthPrototypeBuiltins
public static enum TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype
extends Enum<TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype>
implements BuiltinEnum<TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype>
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface BuiltinEnum
args, asEnum, createNode, getECMAScriptVersion, getKey, getName, isAnnexB, isAOTSupported, isConfigurable, isConstructor, isEnabled, isEnumerable, isNewTargetConstructor, isOptional, isSetter, isWritable, prependAccessorPrefix
-
Enum Constant Details
-
calendarId
public static final TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype calendarId -
era
-
eraYear
-
year
-
month
-
monthCode
public static final TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype monthCode -
daysInMonth
public static final TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype daysInMonth -
daysInYear
public static final TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype daysInYear -
monthsInYear
public static final TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype monthsInYear -
inLeapYear
public static final TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype inLeapYear -
with
-
add
-
subtract
public static final TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype subtract -
until
-
since
-
equals
-
toString
public static final TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype toString -
toLocaleString
public static final TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype toLocaleString -
toJSON
-
valueOf
-
toPlainDate
public static final TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype toPlainDate
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getLength
public int getLength()- Specified by:
getLengthin interfaceBuiltinEnum<TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype>
-
isGetter
public boolean isGetter()- Specified by:
isGetterin interfaceBuiltinEnum<TemporalPlainYearMonthPrototypeBuiltins.TemporalPlainYearMonthPrototype>
-