AceTime 2.4.0 Date and time classes for Arduino that support timezones from the TZ Database.

Public Attributes | List of all members
ace_time::extended::TransitionForDateTimeTemplate< ZEB, ZPB, ZRB > Struct Template Reference

The result of the findTransitionForDateTime(const LocalDatetime& ldt) method which can return 0, 1, or 2 matching Transitions depending on whether the DateTime is an exact match, in the gap, or in the overlap. More...

`#include <Transition.h>`

## Public Attributes
const TransitionTemplate< ZEB, ZPB, ZRB > * | prev
| The previous transition.
const TransitionTemplate< ZEB, ZPB, ZRB > * | curr
| The matching transition, or null if not found or in gap.
uint8_t | num
| Number of matches: 0, 1, 2.

## Detailed Description

### template<typename ZEB, typename ZPB, typename ZRB>
struct ace_time::extended::TransitionForDateTimeTemplate< ZEB, ZPB, ZRB >

The result of the findTransitionForDateTime(const LocalDatetime& ldt) method which can return 0, 1, or 2 matching Transitions depending on whether the DateTime is an exact match, in the gap, or in the overlap.

There are 5 possibilities:

- num=0, prev==NULL, curr=curr: datetime is far past
- num=1, prev==prev, curr=prev: exact match to datetime
- num=2, prev==prev, curr=curr: datetime in overlap
- num=0, prev==prev, curr=curr: datetime in gap
- num=0, prev==prev, curr=NULL: datetime is far future

Definition at line 311 of file Transition.h.

The documentation for this struct was generated from the following file:

- /home/brian/src/AceTime/src/ace_time/Transition.h