TimeTrait.Attributes

interface TimeTrait.Attributes

Known direct subclasses
Time

Used in the Starter in conjunction with a Structure to represent time at that structure location.


Attributes for the Time Trait.

Summary

Public properties

LocalDate?

The current date.

LocalTime?

The current time.

DayOfWeek?

The current day of the week.

LocalTime?

The time when sunrise occurs.

LocalTime?

The time when sunset occurs.

Public properties

currentDate

val currentDate: LocalDate?

The current date.

currentTime

val currentTime: LocalTime?

The current time.

dayOfWeek

val dayOfWeek: DayOfWeek?

The current day of the week.

sunriseTime

val sunriseTime: LocalTime?

The time when sunrise occurs.

sunsetTime

val sunsetTime: LocalTime?

The time when sunset occurs.