Class JSTemporalPlainYearMonthObject

All Implemented Interfaces:
com.oracle.truffle.api.interop.TruffleObject

public final class JSTemporalPlainYearMonthObject extends JSTemporalCalendarHolder
  • Constructor Details

    • JSTemporalPlainYearMonthObject

      protected JSTemporalPlainYearMonthObject(com.oracle.truffle.api.object.Shape shape, JSDynamicObject proto, int isoYear, int isoMonth, int isoDay, com.oracle.truffle.api.strings.TruffleString calendar)
  • Method Details

    • getYear

      public int getYear()
    • getMonth

      public int getMonth()
    • getDay

      public int getDay()
    • isoDate

      public ISODateRecord isoDate()
    • getClassName

      public com.oracle.truffle.api.strings.TruffleString getClassName()
      Description copied from class: JSDynamicObject
      The [[Class]] internal property. For ES5, this is the second part of what Object.prototype.toString.call(myObj) returns, e.g. "[object Array]".
      Overrides:
      getClassName in class JSNonProxyObject