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

Public Attributes | List of all members
ace_time::extended::TransitionForSecondsTemplate< D > Struct Template Reference

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

`#include <Transition.h>`

## Public Attributes
const TransitionTemplate< D > * | 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 D>
struct ace_time::extended::TransitionForSecondsTemplate< D >

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 279 of file Transition.h.

## Member Data Documentation

## ◆ num

template<typename D >

uint8_t ace_time::extended::TransitionForSecondsTemplate< D >::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 292 of file Transition.h.

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

- /home/brian/src/AceTimeSuite/libraries/AceTimeLib/src/ace_time/Transition.h