Commit Graph
11 Commits
Author SHA1 Message Date
Adrian Crum aa63974531 Moved some of the temporal expression data from demo to seed - so components can reference temporal expressions in their seed data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225330 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 20:51:26 +00:00
Adrian Crum 043c15ee63 Removed deprecated temporal expression class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940559 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:30:02 +00:00
Bilgin Ismet Ibryam 8e26a2b0e9 Updated the descriptions of some TemporalExpressions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935695 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 18:27:08 +00:00
Bilgin Ismet Ibryam 1562b0a308 Added description field to TemporalExpression entity and related data plus forms. Part of https://issues.apache.org/jira/browse/OFBIZ-3521
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935387 13f79535-47bb-0310-9956-ffa450edef68
2010-04-18 18:41:20 +00:00
Adrian Crum 2af56291a0 Temporal Expression bug fixes.
Internationalization note: this commit contains new UI labels.

Deprecated the time of day expression - it was a bad design. Replaced it with separate hour and minute expressions.

Fixed the createTemporalExpression service. It wouldn't allow user-specified expression IDs.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900024 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 20:59:37 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Adrian Crum 725c12fc77 More Temporal Expression work:
1. Fixed a bug in the TimeOfDayRange class where it didn't calculate properly across a daylight saving transition.
2. Added interval and count to TimeOfDayRange. Now the next() method will increment according to the new fields.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718373 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 20:42:16 +00:00
Adrian Crum 5dc2fbe3b6 Temporal Expression class improvements:
1. Hardened classes.
2. Added accessor methods to expression classes and added a visitor interface. These are in preparation for the upcoming iCalendar integration.
3. JavaDoc improvements.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@713848 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 22:44:52 +00:00
Adrian Crum a777172d63 More temporal expression fixups.
I think this is ready now. The expression language won't change and the Java API won't change, so we can start building on it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@696344 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 15:38:16 +00:00
Adrian Crum 50724da6b9 More temporal expression work - additional JavaDocs, code fixups, converted all job sandbox jobs to temporal expressions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@695995 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 18:19:55 +00:00
Adrian Crum 9f0dc4b5f1 Temporal expression recurring event framework. Based upon a design by Martin Fowler, and discussed in https://issues.apache.org/jira/browse/OFBIZ-1956.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@695688 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 23:40:31 +00:00