Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-87

Add date roll dynamic replacement fuction to PathUtils

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.1-incubating
    • 0.2
    • metadata container
    • None
    • none

    Description

      • will add dynamic replacement to doDynamicReplacement() method such that you can do a date roll
      • format: [DATE_ROLL(<date>,<date-format>,<roll-amount>,<hr | min | sec | day | mo | yr>)]
      • example: [DATE_ROLL(2009-12-01, yyyy-MM-dd, 1, day)] . . . output will be: 2009-12-02
      • dynamic replacement will be allowed for the <date> as well, for example: [DATE_ROLL([DATE.UTC], yyyy-MM-dd'T'HH:mm:ss.SSS'Z', 1, day)] will roll current UTC time one day forward

      Attachments

        1. OODT-87.2010-12-15.patch.txt
          5 kB
          Brian Foster
        2. OODT-87.2010-12-16.txt
          5 kB
          Brian Foster

        Activity

          People

            bfoster Brian Foster
            bfoster Brian Foster
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: