AceTime 2.4.0 Date and time classes for Arduino that support timezones from the TZ Database.

Functions
time_offset_mutation.h File Reference

Methods that mutate a TimeOffset object. More...

`#include <stdint.h>`
`#include "TimeOffset.h"`
Include dependency graph for time_offset_mutation.h:
This graph shows which files directly or indirectly include this file:

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...

## Detailed Description

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:

TimeOffset offset = TimeOffset::forXxx(...);
time_offset_mutation::increment15Minute(offset);

Definition in file time_offset_mutation.h.

## Function Documentation

## ◆ increment15Minutes()

void ace_time::time_offset_mutation::increment15Minutes | ( | TimeOffset & | offset | ) |
| 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.