Clock
This widget consists of an analogue clock. The clock has day and night style displays which
are used depending on the time. The period interpreted as day by the clock is controlled by
a pair of constants kStartDay and kEndDay, currently set at 6 and 20 respectively. Thus the
clock will display in night style between the hours of 8pm and 6am. The style of the clock,
can be controlled by setting the appropriate colors of the different components. For daytime
this is through the dayNumberColor, dayHourHandColor, dayMinuteHandColor, daySecondHandColor
and dayFaceColor properties. There are equivalent properties for the night style. The time
displayed by the clock can differ from the current system local time by setting the timeZone
property, an integer which adjusts the time displayed relative to universal time (UTC).
dayFaceColor
Determines the color of the face of the clock during the day
dayHourHandColor
Determines the color of the hour hand on the clock during the day
dayMinuteHandColor
Determines the color of the minute hand on the clock during the day
dayNumberColor
Determines the color of the numbers on the clock during the day
daySecondHandColor
Determines the color of the second hand on the clock during the day
isDay
Whether the clock's current display is in "day" mode.
nightFaceColor
Determines the color of the face of the clock during the night
nightHourHandColor
Determines the color of the hour hand on the clock during the night
nightMinuteHandColor
Determines the color of the minute hand on the clock during the night
nightNumberColor
Determines the color of the numbers on the clock during the night
nightSecondHandColor
Determines the color of the second hand on the clock during the night
timeZone
The time zone offset from UTC, in seconds, or the empty string