API: make SimpleTimeZone constructor with start and end time modes public

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 1.4.0
    • Affects Version/s: 1.3.0
    • Component/s: core-libs
    • beta
    • generic
    • generic

      In Kestrel, a package private SimpleTimeZone constructor which takes start and end time modes was introduced in order to be able to represent some cases, like "the last Sunday of March 1:00 UTC for a GMT-03:00 zone" which is "10pm local time of the day before the last Sunday of March."

      Before Kestrel, the SimpleTimeZone constructors always assumed wall clock time and the example case couldn't be represented. (negative start and end times don't work.)

      The package private constructor should be made public so that all DST schedule cases can be represented correctly (outside the package).

            Assignee:
            Masayoshi Okutsu
            Reporter:
            Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: