[ 
https://issues.apache.org/jira/browse/OFBIZ-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562826#action_12562826
 ] 

Jacques Le Roux commented on OFBIZ-715:
---------------------------------------

Adrian,

Thanks for your explanation. Yes, I agree that it's tough work. I think that 
you are not so far from a success and I'm sure we need a such functionality. So 
I will try to fix your solution as I recognize that it"s smart. I know it's not 
obvious. I did some such work some years ago when I wrote Tempo in C++, a 
reminder I use in my everyday work. 

Just a remark on the form. Following our coding conventions 
(http://java.sun.com/docs/codeconv/html/CodeConventions.doc8.html#15413)  you 
should not use startDOM but startDom or even better StartDayOfMonth. I made 10 
years before following stricly this convention and I'm happy with it now ;o)

> Utils for doing date calculations based on timeUomIds
> -----------------------------------------------------
>
>                 Key: OFBIZ-715
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-715
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Andrew Sykes
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: elapsed_time.patch, UtilDateTime.java.patch, 
> UtilDateTime.java.patch
>
>
> 6 new methods, 
> 1/ adjustDateTime (3 methods) adjusts either a Timestamp Date or Calendar by 
> the given timeUomId and timeUomMultiple
> 2/ getTimeUomMultipleDifference (3 methods) gets the timeUomMultiple for two 
> Timestamp Date or Calendar objects given the timeUomId.

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

Reply via email to