---
title: "PolyglotEngineWithJavaScript.Moment"
kind: "class"
id: "com.oracle.truffle.tck.impl.PolyglotEngineWithJavaScript$Moment"
module: "truffle-tck"
version: "25.6.0-elide.4"
canonical: "https://graalvm.elide.help/25.6.0-elide.4/api/truffle-tck/com/oracle/truffle/tck/impl/PolyglotEngineWithJavaScript.Moment.html"
---

# ◆ PolyglotEngineWithJavaScript.Moment

[truffle-tck](../../../../../index.md) › [com.oracle.truffle.tck.impl](index.md) · Every page: [llms.txt](../../../../../llms.txt)

Class in [`com.oracle.truffle.tck.impl`](index.md). Nested in [`PolyglotEngineWithJavaScript`](PolyglotEngineWithJavaScript.md).

```java
public static final class PolyglotEngineWithJavaScript.Moment
```

Inheritance: [`Object`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html) > `Moment`

## Fields

### hours
<a id="hours"></a>`public final int hours`. Cite: `com/oracle/truffle/tck/impl/PolyglotEngineWithJavaScript.Moment.html#hours`

### minutes
<a id="minutes"></a>`public final int minutes`. Cite: `com/oracle/truffle/tck/impl/PolyglotEngineWithJavaScript.Moment.html#minutes`

### seconds
<a id="seconds"></a>`public final int seconds`. Cite: `com/oracle/truffle/tck/impl/PolyglotEngineWithJavaScript.Moment.html#seconds`

## Constructors

### Moment(int, int, int)
<a id="&lt;init&gt;(int,int,int)"></a>`public Moment(int hours, int minutes, int seconds)`. Cite: `com/oracle/truffle/tck/impl/PolyglotEngineWithJavaScript.Moment.html#<init>(int,int,int)`

## Inherited members

- From class [`Object`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html): [`clone`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#clone%28%29), [`equals`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#equals%28java.lang.Object%29), [`finalize`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#finalize%28%29), [`getClass`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#getClass%28%29), [`hashCode`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#hashCode%28%29), [`notify`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notify%28%29), [`notifyAll`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#notifyAll%28%29), [`toString`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#toString%28%29), [`wait`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait%28%29), [`wait`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait%28long%29), [`wait`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Object.html#wait%28long,int%29)
