Class JSTemporalDateTimeRecord
java.lang.Object
com.oracle.truffle.js.runtime.builtins.temporal.JSTemporalDateTimeRecord
- Direct Known Subclasses:
ParseISODateTimeResult
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJSTemporalDateTimeRecord(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 Summary
Modifier and TypeMethodDescriptionstatic JSTemporalDateTimeRecordcreate(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, int nanosecond) static JSTemporalDateTimeRecordcreateCalendar(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) com.oracle.truffle.api.strings.TruffleStringintgetDay()intgetHour()intintintintgetMonth()intintintgetYear()boolean
-
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()
-