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 |
INTERMEDIATE_VALUE| Constructor and Description |
|---|
JSDateOperation(JSContext context,
JSBuiltin builtin,
boolean isUTC) |
| Modifier and Type | Method and Description |
|---|---|
protected com.oracle.truffle.api.object.DynamicObject |
asDate(Object object)
Coerce to Date or throw TypeError.
|
protected double |
asDateMillis(Object thisDate) |
protected static void |
checkTimeValid(double time) |
protected com.oracle.truffle.api.object.DynamicObject |
createDateTimeFormat(InitializeDateTimeFormatNode initDateTimeFormatNode,
Object locales,
Object options) |
copyUninitialized, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected final boolean isUTC
protected final com.oracle.truffle.api.profiles.ConditionProfile isNaN
protected final com.oracle.truffle.api.object.DynamicObject asDate(Object object)
protected final double asDateMillis(Object thisDate)
protected static void checkTimeValid(double time)
protected com.oracle.truffle.api.object.DynamicObject createDateTimeFormat(InitializeDateTimeFormatNode initDateTimeFormatNode, Object locales, Object options)