|
AceTime
3.0.0
Date and time classes for Arduino that support timezones from the TZ Database.
|
ZoneSorterByName, templatized on BasicZoneManager or ExtendedZoneManager. More...
#include <ZoneSorterByName.h>
Public Member Functions | |
| ZoneSorterByName (const ZM &zoneManager) | |
| Constructor. More... | |
| void | fillIndexes (uint16_t indexes[], uint16_t size) const |
| Fill the given array of indexes with index from [0, size). More... | |
| void | sortIndexes (uint16_t indexes[], uint16_t size) const |
| Sort the given array of indexes by UTC offset, then by name. | |
| void | sortIds (uint32_t ids[], uint16_t size) const |
| Sort the given array of zone ids by UTC offset, then by name. | |
| void | sortNames (const char *names[], uint16_t size) const |
| Sort the given array of zone names by UTC offset, then by name. | |
ZoneSorterByName, templatized on BasicZoneManager or ExtendedZoneManager.
Sorts the array of zones by name.
| ZM | ZoneManager |
Definition at line 21 of file ZoneSorterByName.h.
|
inline |
Constructor.
| zoneManager | instance of the ZoneManager |
Definition at line 27 of file ZoneSorterByName.h.
|
inline |
Fill the given array of indexes with index from [0, size).
The resulting indexes array can be sorted using sortIndexes().
Definition at line 35 of file ZoneSorterByName.h.