public abstract static class DatePrototypeBuiltins.JSDateOperation extends JSBuiltinNode
JSBuiltinNode.Inlineable, JSBuiltinNode.Inlined| Modifier and Type | Field and Description |
|---|---|
protected com.oracle.truffle.api.profiles.ConditionProfile |
isNaN |
protected boolean |
isUTC |
ARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSDateOperation(JSContext context,
JSBuiltin builtin,
boolean isUTC) |
| Modifier and Type | Method and Description |
|---|---|
protected JSDateObject |
asDate(Object object)
Coerce to Date or throw TypeError.
|
protected double |
asDateMillis(Object thisDate) |
protected static void |
checkTimeValid(double time) |
protected JSDateTimeFormatObject |
createDateTimeFormat(InitializeDateTimeFormatNode initDateTimeFormatNode,
Object locales,
Object options) |
copyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealm, hasOverloadedOperatorsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected final boolean isUTC
protected final com.oracle.truffle.api.profiles.ConditionProfile isNaN
protected final JSDateObject asDate(Object object)
protected final double asDateMillis(Object thisDate)
protected static void checkTimeValid(double time)
protected JSDateTimeFormatObject createDateTimeFormat(InitializeDateTimeFormatNode initDateTimeFormatNode, Object locales, Object options)