Skip to content

Implement GetTimeZoneTransition method for ZonedDateTime #152

@nekevss

Description

@nekevss

Related to ongoing work for #13.

The method GetTimeZoneTransition needs to be implemented for ZonedDateTime.

This may involve extending the TzProvider trait and implementing that extension on FsTzdbProvider.

Initial thought on how the implementation may look would be to add the method like below:

trait TimeZoneProvider {
  // ...
  // Existing trait methods
  
  fn get_timezone_transition(&self, epoch_nanoseconds: i128, direction: TransitionDirection) -> EpochNanoseconds;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementNew feature or requesttest262Issue related to test262 conformance

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions