6 #ifndef ACE_TIME_BROKER_COMMON_H
7 #define ACE_TIME_BROKER_COMMON_H
17 class __FlashStringHelper;
24 return code * (uint16_t) 15 + (modifier & 0x0f);
32 return modifier & 0xf0;
51 const char* findShortName(
const char* name);
57 const __FlashStringHelper* findShortName(
const __FlashStringHelper* fname);
uint16_t timeCodeToMinutes(uint8_t code, uint8_t modifier)
Convert (timeCode, timeModifier) fields in ZoneInfo to minutes.
uint8_t toSuffix(uint8_t modifier)
Extract the 'w', 's' 'u' suffix from the 'modifier' field, so that they can be compared against kSuff...