Struct gregor::LocalTimeConversionError [] [src]

pub struct LocalTimeConversionError { /* fields omitted */ }

When a time zone makes clock jump forward or back at any instant in time (for example twice a year with daylight-saving time, a.k.a. summer-time period) This error is returned when either:

  • Clocks went back and this local time occurred at multiple instants in time, making its interpretation or conversion ambiguous.

  • Clocks jumped forward and this local time did not occur. It does not represent any real instant in time. It could be argued that a range of local times all represent the same instant, but this library does not implement the conversion that way.

Trait Implementations

impl Eq for LocalTimeConversionError
[src]

impl PartialEq for LocalTimeConversionError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for LocalTimeConversionError
[src]

Formats the value using the given formatter.