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 currentDateLocalDate?

The current date.

currentTime

val currentTimeLocalTime?

The current time.

dayOfWeek

val dayOfWeekDayOfWeek?

The current day of the week.

sunriseTime

val sunriseTimeLocalTime?

The time when sunrise occurs.

sunsetTime

val sunsetTimeLocalTime?

The time when sunset occurs.