Description
There are three Time Interface assets: Chronometer, Clock and Countdown
These 3 Interface Assets come with the following Design Accelerators
Chronometer
Properties
- Hours: Number of hours elapsed, ignoring the number of minutes and seconds
- Minutes: Number of minutes elapsed, ignoring the number of hours and seconds
- Seconds: Number of seconds elapsed, ignoring the number of hours and minutes
- Formatted seconds: Number of seconds elapsed, ignoring the number of hours and minutes. Always represented as a two-digit number - e.g. '01' instead of '1'.
- Formatted minutes: Number of minutes elapsed, ignoring the number of hours and seconds. Always represented as a two-digit number - e.g. '01' instead of '1'.
- Formatted hours: Number of hours elapsed, ignoring the number of minutes and seconds. Always represented as a two-digit number - e.g. '01' instead of '1'.
- Time: Current elapsed time, represented using the format 'hh:mm:ss'
- Duration in hours: Current elapsed time, represented only using hours. For example, 30 minutes would be represented as '0.5'. Fractional hours can have up to four decimal points.
- Duration in minutes: Current elapsed time, represented only using minutes. For example, 30 seconds would be represented as '0.5'. Fractional minutes can have up to four decimal points.
- Duration in seconds: Current elapsed time, represented only using seconds. For example, two minutes would be represented as '120'. There can be no fractional seconds
Triggers
- Chronometer is paused --> Raised when the chronometer is paused.
- Chronometer is started --> Raised when the chronometer is started.
- Hours are changed --> Raised when the number of hours has changed.
- Minutes are changed --> Raised when the number of minutes has changed.
- Seconds are changed --> Raised when the number of seconds has changed.
- Time changed
- Time is reached
Actions
- Pause -> Pause the chronometer
- Reset -> Reset the chronometer to 0
- Set time -> Set the chronometer to a specified time
- Start -> Start the chronometer
Clock
Properties
- Use AM/PM for display
- Time Zone
- Language
The properties below are read-only properties, thus only visible through a binding
- Hours -> ex: 03 for 03:00:00
- Minutes --> ex: 30 for 00:30:00
- Seconds --> ex: 45 for 00:00:45
- Use AM/PM for display --> ex: True/False
- Seconds in degrees --> ex: 270° for 00:00:45
- Minutes in degrees --> ex: 180° for 00:30:00
- Hours in degrees -> ex: 90° for 03:00:00
- Long Date --> ex: Tuesday, May 17, 2016 (depending on language setting)
- Short Date --> ex: 05/17/2016 (depending on language setting
- Long Time --> ex: 15:26:58 (depending on language setting
- Short Time --> ex: 15:26 (depending on language setting
- Complete date time --> ex: Monday, December 2, 2019 11:52 AM
- Day as string --> ex: Tuesday (depending on language setting)
- Month as string --> ex: May (depending on language setting)
- Year --> ex: 2016
- Day as Number --> ex: 17
- Month as Number --> ex: 05
- ISO 8601 date --> ex: 2016-05-17T15:26:58+00.00
- Time Zone --> ex: Local time
- Language --> ex: United States - English
Triggers
- Time is reached --> triggered when the specified time is reached
- Time changed --> triggered every moment the time value changes
- Year changed
- Date and/or time changed
- Date changed
- Day number changed
- Day string changed
- Hours angle changed
- Hours changed
- ISO 8601 date changed
- Minute changed
- Minutes angle changed
- Month number changed
- Month string changed
- Second changed
- Seconds angle changed
- Short date changed
- Short time changed
Actions
- Pause
- Resume
- Set Language
- Set Time Zone
- Set AM/PM for display
Countdown
Properties
- Seconds: Number of seconds remaining, ignoring the number of days, hours and minutes
- Minutes: Number of minutes remaining, ignoring the number of days, hours and seconds
- Hours: Number of hours remaining, ignoring the number of days, minutes and seconds
- Days: Number of days remaining, ignoring the number of hours, minutes and seconds
- Formatted seconds: Number of seconds remaining, ignoring the number of days, hours, and minutes. Always represented as a two-digit number - e.g. '01' instead of '1'.
- Formatted minutes: Number of minutes remaining, ignoring the number of days, hours, and seconds. Always represented as a two-digit number - e.g. '01' instead of '1'.
- Formatted hours: Number of hours remaining, ignoring the number of days, minutes, and seconds. Always represented as a two-digit number - e.g. '01' instead of '1'.
- Time
- Remaining duration in days: Remaining time, represented only using days. For example, 12 hours would be represented as '0.5'. Fractional days can have up to four decimal points.
- Remaining duration in hours: Remaining time, represented only using hours. For example, 30 minutes would be represented as '0.5'. Fractional hours can have up to four decimal points.
- Remaining duration in minutes: Remaining time, represented only using minutes. For example, 30 seconds would be represented as '0.5'. Fractional minutes can have up to four decimal points.
- Remaining duration in seconds: Remaining time, represented only using seconds. For example, two minutes would be represented as '120'. There can be no fractional seconds
Triggers
- Countdown paused --> triggered when the countdown is paused
- Countdown started --> triggered when the countdown is started
- Days changed --> triggered when days are changed
- Formatted hours changed - triggered when formatted hours are changed
- Formatted minutes are changed - triggered when formatted minutes are changed
- Formatted seconds are changed - triggered when formatted seconds are changed
- Hours changed --> triggered when hours are changed
- Minutes changed --> triggered when minutes are changed
- Seconds changed --> triggered when seconds are changed
- Time is reached --> triggered when the specified time is reached
- Time changed --> triggered every moment the time value changes * ****
Actions
- Start
- Pause
- Reset
- Set Days
- Set Hours
- Set Minutes
- Set Seconds
Comments
0 comments
Article is closed for comments.