Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3066

Implement Date format GDK methods

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.7
    • groovy-jdk
    • None
    • Patch

    Description

      GDK convenience methods to wrap SimpleDateFormat such as {{ new Date().format( 'yyyy-MM-dd' )}}.

      These should probably added for Calendar too.

      Would a complimentary 'parse' method be appropriate?

      Attachments

        1. DateGDKTest.groovy
          1 kB
          Tom Nichols
        2. DateFormatGTK-patch.txt
          13 kB
          Tom Nichols

        Activity

          People

            tomstrummer Tom Nichols
            tomstrummer Tom Nichols
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: