6 #ifndef ACE_TIME_TIME_OFFSET_MUTATION_H
7 #define ACE_TIME_TIME_OFFSET_MUTATION_H
10 #include "TimeOffset.h"
13 namespace time_offset_mutation {
37 int16_t minutes = offset.
toMinutes() + 15;
38 if (minutes > 960) minutes = -960;
39 offset.setMinutes(minutes);
A thin wrapper that represents a time offset from a reference point, usually 00:00 at UTC,...
int16_t toMinutes() const
Return the time offset as minutes.
void increment15Minutes(TimeOffset &offset)
Increment the TimeOffset by 15 minute interval.