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

DateUtils throws an exception for certain timestamps

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-RC1
    • Fix Version/s: 1.0.0-RC2
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: