[
https://issues.apache.org/jira/browse/OFBIZ-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552457
]
Jacopo Cappellato commented on OFBIZ-1249:
------------------------------------------
This is a summary from the dev mailing list for a new Minilang operation:
<set-calendar field="toDate" from-field="fromDate"
years="+1" months="+1" ... millis="+1"
locale="parameters.locale" time-zone="parameters.timeZone"/>
For example:
<set-calendar field="tomorrowDate" from-field="nowTimestamp" days="1"/>
> To permit to to calculate on a DATE object in minilang
> ------------------------------------------------------
>
> Key: OFBIZ-1249
> URL: https://issues.apache.org/jira/browse/OFBIZ-1249
> Project: OFBiz
> Issue Type: New Feature
> Components: framework
> Affects Versions: SVN trunk
> Environment: all
> Reporter: Fabien Carrion
> Assignee: Jacques Le Roux
> Priority: Minor
> Fix For: SVN trunk
>
> Attachments: calculate_date_diff.patch
>
>
> This patch lets use the calculate function in the minilang service function
> with java.util.Date and java.sql.Date object.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.