Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-29467

Joda-time 2.8

    Details

      Description

      Joda-Time version 2.8
      ---------------------

      Joda-Time is a date and time handling library that seeks to replace the JDK
      Date and Calendar classes.

      This release contains enhancements, bug fixes and a time zone update.
      The release runs on JDK 5 or later.

      Joda-Time is licensed under the business-friendly Apache License Version 2.
      This is the same license as all of Apache, plus other open source projects such as Spring.
      The intent is to make the code available to the Java community with the minimum
      of restrictions. If the license causes you problems please contact the mailing list.

      Enhancements since 2.7
      ----------------------

      • Encode properties files using unicode escapes 228
        The properties files are supposed to be loaded using ISO 8859-1 but Android seems to have issues with that.
        Re-encode the files using unicode escapes to sidestep the issue.
      • Avoid ProGuard errors in Android jar 246
        Separate logging from time-zone compilation

      Compatibility with 2.7
      ----------------------
      Build system - Yes

      Binary compatible - Yes

      Source compatible - Yes

      Serialization compatible - Yes

      Data compatible - Yes

      • DateTimeZone data updated to version 2015d
      • In the past year, the IANA time-zone database maintainer has changed unique time-zone data for many parts
        of the world into shared "links". For example, in IANA 'Asia/Kuwait' now links to 'Asia/Riyadh'.
        (I personally disagree with the IANA time-zone database maintainer's actions but my objections were ignored).
        This was a problem for Joda-Time as we interpreted the concept of links (many years ago) as only being used
        for backwards compatibility. Links are exposed in Joda-Time, because if you request a time-zone for a linked
        identifier you get the target of the link back. As such, in recent versions of Joda-Time, it was not possible
        to obtain a DateTimeZone with an appropriate identifier for many parts of the world, such as 'Asia/Kuwait'.
        With this release, most links in the main IANA files are now restored to be real zones.
        As a side effect of this, some identifiers that used to act as links are now real zones.
        In summary, in the last Joda-Time release, requesting 'Asia/Kuwait' would have given back 'Asia/Riyadh',
        but it now returns 'Asia/Kuwait' (where 'Asia/Kuwait' and 'Asia/Riyadh' have the same time-zone rules).
        In most cases, this won't have any impact on your application.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  dhorwitz David Horwitz
                  Reporter:
                  dhorwitz David Horwitz
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration