Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-763

Reintroduce DateUtils.UTC_TIME_ZONE constant

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 3.0.1
    • None
    • lang.time.*
    • None

    Description

      In LANG-691 DateUtils.UTC_TIME_ZONE was removed because TimeZone-s are mutable. However it was a handy constant. So it would be nice if it could be reintroduced in an immutable way. For example:

      • by creating a new static method DateUtils.utcTimeZone() {return TimeZone.getTimeZone("GMT");}
      • or by creating an immutable timezone type (subclassing maybe SimpleTimeZone)

      Attachments

        Activity

          People

            Unassigned Unassigned
            akiraly Attila Király
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: