AceTime
3.0.0
Date and time classes for Arduino that support timezones from the TZ Database.
|
Methods that mutate a TimeOffset object. More...
#include <stdint.h>
#include "TimeOffset.h"
Go to the source code of this file.
Functions | |
void | ace_time::time_offset_mutation::increment15Minutes (TimeOffset &offset) |
Increment the TimeOffset by 15 minute interval. More... | |
Methods that mutate a TimeOffset object.
The number of mutation methods of a TimeOffset object is basically unlimited, so including them in the TimeOffset class would make its API too complex and incomplete. Instead, they are split off into this separate namespace.
Example:
Definition in file time_offset_mutation.h.
|
inline |
Increment the TimeOffset by 15 minute interval.
For usability, the range is limited from -16:00 to +16:00, inclusive, with +16:00 wrapping to -16:00.
Definition at line 36 of file time_offset_mutation.h.