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
- 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.