Record Class TemporalUtil.AddDaysToZonedDateTimeResult
java.lang.Object
java.lang.Record
com.oracle.truffle.js.runtime.util.TemporalUtil.AddDaysToZonedDateTimeResult
- Enclosing class:
TemporalUtil
public static record TemporalUtil.AddDaysToZonedDateTimeResult(BigInt epochNanoseconds, JSTemporalInstantObject instant, JSTemporalPlainDateTimeObject dateTime)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAddDaysToZonedDateTimeResult(BigInt epochNanoseconds, JSTemporalInstantObject instant, JSTemporalPlainDateTimeObject dateTime) Creates an instance of aAddDaysToZonedDateTimeResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondateTime()Returns the value of thedateTimerecord component.Returns the value of theepochNanosecondsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.instant()Returns the value of theinstantrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AddDaysToZonedDateTimeResult
public AddDaysToZonedDateTimeResult(BigInt epochNanoseconds, JSTemporalInstantObject instant, JSTemporalPlainDateTimeObject dateTime) Creates an instance of aAddDaysToZonedDateTimeResultrecord class.- Parameters:
epochNanoseconds- the value for theepochNanosecondsrecord componentinstant- the value for theinstantrecord componentdateTime- the value for thedateTimerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
epochNanoseconds
Returns the value of theepochNanosecondsrecord component.- Returns:
- the value of the
epochNanosecondsrecord component
-
instant
Returns the value of theinstantrecord component.- Returns:
- the value of the
instantrecord component
-
dateTime
Returns the value of thedateTimerecord component.- Returns:
- the value of the
dateTimerecord component
-