You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "David E. Jones (JIRA)" <ji...@apache.org> on 2008/01/01 00:47:43 UTC
[jira] Commented: (OFBIZ-1249) To permit to to calculate on a DATE
object in minilang
[ https://issues.apache.org/jira/browse/OFBIZ-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12555153 ]
David E. Jones commented on OFBIZ-1249:
---------------------------------------
Just a couple of thoughts:
It might be nice to have a "value" attribute, just like on the normal set element, that could be used to specify a string instead of a from-field name.
For the locale and time-zone attributes it would be more consistent with other things (and potentially more useful) to just use string values and use the ${} when variables are desired. There is a small performance overhead with that, but a few nano-seconds here and there shouldn't hurt anyone... ;) If we don't want to use string values for those two and suffix to the name to clarify the use would be good, something like "-field" or "-env".
> 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.