Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-284

DateUtils throws an exception for certain timestamps

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0-RC1
    • 1.0.0-RC2
    • None
    • All

    Description

      The DateUtils class can't handle certain timestamps.
      The following code

      DateUtils.getDate("9223372036854775807");

      throws an "java.lang.RuntimeException: java.text.ParseException: ERR_04363 Invalid Time too short, expected field 'fraction of second' or 'timezone'."

      The value in microsofts active directory indicates that e.g. an account never expires...

      Attachments

        Activity

          People

            Unassigned Unassigned
            TeeWeTee Lonzak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: