Rudiments
datetime.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3 
4  private:
5  void init();
6  void clear();
7 
8  bool getBrokenDownTimeFromEpoch();
9  void setWeekOfYear(void *tms);
10  bool normalize();
11  void processTZ(void *tms);
12 
13  bool setTZ(const char *zone, char **oldzone, bool ignoredst);
14  bool restoreTZ(char *oldzone);
15 
16  const char *lookupCombinedTimeZone(const char *zone) const;
17  bool daylightZone(const char *zone) const;
18 
19  const char *getTzName(uint8_t index);
20 
21  static int16_t adjustHour(int16_t hour,
22  const char *timestring);
23  static int32_t fractionToMicroseconds(const char *fraction);
24 
25  static bool acquireLock();
26  static bool releaseLock();
27 
28  datetimeprivate *pvt;