Skip to content

[Android] Timezone APIs on Android #93216

Open
@Yqwed

Description

@Yqwed

This is a spin-off from mono/mono#21682, as @mdh1418 suggested to do.

tl;dr:

  1. As I understand, current implementation reads Android's tzdata directly. Here are few problems with that: neither its location nor its structure is documented or guaranteed. I don't know what .NET's API surface is, but maybe ICU4C would suffice. Overall it endangers users as PR above illustrates.
  2. How does current .NET implementation handles TZif4 files?
  3. Do you have tests like this? I think old Mono implementation would fail on Asia/Gaza as it has predefined transition up to 2086 (does not fit into 32-bit section of TZif ver. 1)
  4. We usually make tzdata changes early in the release cycle. Can you include Android beta builds into testing matrix?

Happy to answer your questions!

Thanks,
Almaz

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions