Time

API 1.15

The Time class represents a time during a day. Time instances are immutable. The constructors are accessible from scripts.

Fields

hours

integer

Read only. The hour, from 0 to 23.

minutes

integer

Read only. The minute, from 0 to 59.

seconds

integer

The second, from 0 to 59.

Methods

init( )

Constructs a new Time instance for the current time.

init(time)

Constructs a new Time instance from the given time.

Last updated