AceTime
0.3
Date and time classes for Arduino that support timezones from the TZ Database, and a system clock that can synchronize from an NTP server or an RTC chip.
src
ace_time
time_offset_mutation.h
1
#ifndef ACE_TIME_TIME_OFFSET_MUTATION_H
2
#define ACE_TIME_TIME_OFFSET_MUTATION_H
3
4
#include <stdint.h>
5
#include "common/util.h"
6
#include "TimeOffset.h"
7
8
namespace
ace_time
{
9
namespace
time_offset_mutation {
10
32
inline
void
increment15Minutes(TimeOffset& offset) {
33
int8_t code = offset.toOffsetCode() + 1;
34
if
(code > 64) code = -64;
35
offset.setOffsetCode(code);
36
}
37
38
}
39
}
40
41
#endif
ace_time
Definition:
BasicZoneSpecifier.cpp:4
Generated by
1.8.13