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

[lang] parseDate with TimeZone

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.1
    • 2.2
    • None
    • None
    • Operating System: All
      Platform: All

    • 37499

    Description

      I needed the ability to user a function like the
      org.apache.commons.lang.time.DateUtils.parseDate function but I needed to
      consider a different time zone when parsing the dates (assuming the format did
      not have the time zone as part of the input). This is needed for different
      clients to enter local date/time values on their browser and consider their
      defined time zone to convert this to the server/system time zone. I just
      thought an additional parameter to this function would make it more generic
      for this purpose while still keeping the current method signate which would
      use the tiem zone sensitive one with a null or default timezone value.

      Anyway, just thought I'd suggest it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bolandb@comcast.net Bill Boland
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h