You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Brian Foster (JIRA)" <ji...@apache.org> on 2010/12/16 20:39:02 UTC

[jira] Resolved: (OODT-87) Add date roll dynamic replacement fuction to PathUtils

     [ https://issues.apache.org/jira/browse/OODT-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Foster resolved OODT-87.
------------------------------

    Resolution: Fixed


- fixed in r1050115

> Add date roll dynamic replacement fuction to PathUtils
> ------------------------------------------------------
>
>                 Key: OODT-87
>                 URL: https://issues.apache.org/jira/browse/OODT-87
>             Project: OODT
>          Issue Type: New Feature
>          Components: metadata container
>    Affects Versions: 0.1-incubating
>         Environment: none
>            Reporter: Brian Foster
>            Assignee: Brian Foster
>            Priority: Minor
>             Fix For: 0.2
>
>         Attachments: OODT-87.2010-12-15.patch.txt, OODT-87.2010-12-16.txt
>
>
> - 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.