[
https://issues.apache.org/jira/browse/OFBIZ-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12555143
]
Adrian Crum commented on OFBIZ-1249:
------------------------------------
I forgot to mention, the new patch supports the following syntax:
<set-calendar field="toDate" from-field="fromDate"
years="+1" months="+1" ... millis="+1"
period-align-start="day | week | month | year"
period-align-end="day | week | month | year"
locale="parameters.locale" time-zone="parameters.timeZone"/>
> 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, set_calendar.patch,
> set_calendar.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.