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::TransitionForSecondsTemplate< ZEB, ZPB, ZRB > Struct Template Reference

Tuple of a matching Transition and its 'fold'. More...

`#include <Transition.h>`

## Public Attributes
const TransitionTemplate< ZEB, ZPB, ZRB > * | curr
| The matching transition, or null if not found.
uint8_t | fold
| 1 if corresponding datetime occurred the second time
uint8_t | num
| Number of occurrences of the resulting LocalDateTime: 0, 1, or 2. More...

## Detailed Description

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

Tuple of a matching Transition and its 'fold'.

Used by findTransitionForSeconds() which is guaranteed to return only a single Transition if found. Usually `fold=0`. But if the epochSeconds maps to a LocalDateTime which occurs a second time during a "fall back", then `fold` is set to 1.

Definition at line 281 of file Transition.h.

## Member Data Documentation

## ◆ num

template<typename ZEB , typename ZPB , typename ZRB >

uint8_t ace_time::extended::TransitionForSecondsTemplate< ZEB, ZPB, ZRB >::num

Number of occurrences of the resulting LocalDateTime: 0, 1, or 2.

This is needed because a fold=0 can mean that the LocalDateTime occurs exactly once, or that the first of two occurrences of LocalDateTime was selected by the epochSeconds.

Definition at line 294 of file Transition.h.

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

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