MyTools/tools/Timer_Tools/FlipTimer library
Classes
- MyFlipRotateTimer
- PUBLIC WIDGET: MyFlipRotateTimer
- TimeFlipEvent
- The object returned by each flip callback.
Enums
- AnimationMode
- Defines the animation style for digit transitions.
- DisplayMode
- Defines the overall display mode.
Functions
-
fromDateTime(
DateTime dt, bool is12) → TimeFlipEvent - Converts a DateTime into a TimeFlipEvent. If is12 is true, converts to 12-hour format (with period), otherwise leaves as 24-hour.
-
incrementTime(
TimeFlipEvent time, bool is12) → TimeFlipEvent -
Increments the given TimeFlipEvent by one second, handling rollover.
is12
indicates whether the time is in 12-hour format.