[tz] Welcome to the "tz" mailing list

Sundar Sarma gkssarma59 at gmail.com
Wed May 20 11:32:25 UTC 2020

Hello team,

According to the latest 2020a tz update: Canada's Yukon, represented by
America/Whitehorse and
    America/Dawson, advanced to -07 year-round, beginning with its
    spring-forward transition on 2020-03-08, and will not fall back on

We have written a test cases like below for canada yukon timezone. We
imported new 2020a tz into our environment.

Our code seems correct but test cases are failing. So we found that there
is wrong in Iana tz side.

Please check and correct us. This is the below code we have written.

    public void doesNotFallBackToMinus8InDawsonNovember2020() {
        DateTimeZone timezone = DateTimeZone.forID("America/Dawson");
        Instant dayAfter = new DateTime(2020, 11, 2, 0, 0,
timezone)-------> on 2nd nov 00:00:00
        Instant day = new DateTime(2020, 11, 1, 0, 0, timezone)------> on 1
st nov 00:00:00
        long dayAfterOffset = timezone.getOffset(dayAfter.getMillis());
        int dayAfterHours = (int)
        long offsetOnDay = timezone.getOffset(day.getMillis());
        int hoursOnDay = (int) TimeUnit.MILLISECONDS.toHours(offsetOnDay);
        assertEquals(hoursOnDay, dayAfterHours);  ------->  here we are
getting error: java.lang.AssertionError: expected:<-7> but was:<-8>

The above test case according to your update (will not fall back on
2020-11-01) is correct. But test case is failing.

Could you please clarify us that is there anything wrong from IANA tz.

If not how can i write my test case according to that?


On Wed, May 20, 2020 at 3:51 PM <tz-request at iana.org> wrote:

> Welcome to the tz at iana.org mailing list!
> ---
> Any submission to the IETF intended by the Contributor for publication
> as all or part of an IETF Internet-Draft or RFC and any statement made
> within the context of an IETF activity is considered an "IETF
> Contribution". Such statements include oral statements in IETF
> sessions, as well as written and electronic communications made at any
> time or place, which are addressed to:
> * The IETF plenary session * The IESG, or any member thereof on behalf
> of the IESG * Any IETF mailing list, including the IETF list itself,
> any working group or design team list, or any other list functioning
> under IETF auspices * Any IETF working group or portion thereof * Any
> Birds of a Feather (BOF) session * The IAB or any member thereof on
> behalf of the IAB * The RFC Editor or the Internet-Drafts function *
> All IETF Contributions are subject to the rules of RFC 5378 and RFC
> 3979 (updated by RFC 4879).
> Statements made outside of an IETF session, mailing list or other
> function, that are clearly not intended to be input to an IETF
> activity, group or function, are not IETF Contributions in the context
> of this notice.
> Please consult RFC 5378 and RFC 3979 for details.
> A participant in any IETF activity is deemed to accept all IETF rules
> of process, as documented in Best Current Practices RFCs and IESG
> Statements.
> A participant in any IETF activity acknowledges that written, audio
> and video records of meetings may be made and may be available to the
> public.
> ---
> To post to this list, send your email to:
>   tz at iana.org
> General information about the mailing list is at:
>   https://mm.icann.org/mailman/listinfo/tz
> If you ever want to unsubscribe or change your options (eg, switch to
> or from digest mode, change your password, etc.), visit your
> subscription page at:
>   https://mm.icann.org/mailman/options/tz/gkssarma59%40gmail.com
> You can also make such adjustments via email by sending a message to:
>   tz-request at iana.org
> with the word `help' in the subject or body (don't include the
> quotes), and you will get back a message with instructions.
> You must know your password to change your options (including changing
> the password, itself) or to unsubscribe.  It is:
>   Gks59 at smu
> Normally, Mailman will remind you of your iana.org mailing list
> passwords once every month, although you can disable this if you
> prefer.  This reminder will also include instructions on how to
> unsubscribe or change your account options.  There is also a button on
> your options page that will email your current password to you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20200520/73bbda16/attachment.html>

More information about the tz mailing list