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/14 22:38:00 UTC
[jira] Created: (OODT-87) Add date roll dynamic replacement fuction
to PathUtils
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.
[jira] Updated: (OODT-87) Add date roll dynamic replacement fuction
to PathUtils
Posted by "Brian Foster (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Foster updated OODT-87:
-----------------------------
Attachment: OODT-87.2010-12-15.patch.txt
- attached patch
> 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
>
>
> - 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.
[jira] Updated: (OODT-87) Add date roll dynamic replacement fuction
to PathUtils
Posted by "Brian Foster (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Foster updated OODT-87:
-----------------------------
Attachment: OODT-87.2010-12-16.txt
- attached new version of patch . . . 'roll' is now 'add' . . . roll just sounds way better but in java Calendar a 'roll' doesn't affect larger values (e.g. a roll of 1 day on 2009-12-31 gives 2009-12-01)
> 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.
[jira] Resolved: (OODT-87) Add date roll dynamic replacement
fuction to PathUtils
Posted by "Brian Foster (JIRA)" <ji...@apache.org>.
[ 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.