Class JSTemporalDateTimeRecord

java.lang.Object
com.oracle.truffle.js.runtime.builtins.temporal.JSTemporalDateTimeRecord
Direct Known Subclasses:
ParseISODateTimeResult

public class JSTemporalDateTimeRecord extends Object
  • Constructor Details

    • JSTemporalDateTimeRecord

      protected JSTemporalDateTimeRecord(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, int nanosecond, com.oracle.truffle.api.strings.TruffleString calendar)
  • Method Details

    • create

      public static JSTemporalDateTimeRecord create(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, int nanosecond)
    • createCalendar

      public static JSTemporalDateTimeRecord createCalendar(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, int nanosecond, com.oracle.truffle.api.strings.TruffleString calendar)
    • getYear

      public int getYear()
    • getMonth

      public int getMonth()
    • getDay

      public int getDay()
    • getHour

      public int getHour()
    • getMinute

      public int getMinute()
    • getSecond

      public int getSecond()
    • getMillisecond

      public int getMillisecond()
    • getMicrosecond

      public int getMicrosecond()
    • getNanosecond

      public int getNanosecond()
    • getCalendar

      public com.oracle.truffle.api.strings.TruffleString getCalendar()
    • hasCalendar

      public boolean hasCalendar()