Commit Graph
15 Commits
Author SHA1 Message Date
Jacques Le Roux b445e17407 Fixed: Issue in ServiceDemoData.xml due to an error with MX_FED_HOLIDAYS
LoadAll was failing:
2020-11-18 21:08:45 +01:00
Jacques Le Roux 17de4f6e07 Improved: Added multiple "es" and "es-MX" values. Added Mexican Federal Holidays
Fixed: Mexican States Abbreviations

In GeoData_MX.xml abbreviations of the Mexican States were wrong and
"Mexico City" state was labeled as County, which is not.

In CommonUiLabels.xml and CommonEntityLabels.xml were added some missing values
to "es" and "es-MX" languages

In ServiceDemoData.xml were added the Mexican federal holidays under the
temporal expression "MX_FED_HOLIDAYS"

Thanks: Zottacko WallyMan
2020-11-18 17:05:41 +01:00
Deepak Dixit 834691742b (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Michael Brohl b9816d1d5d Applied patch for OFBIZ-6594: Wrong Documentation for Temporal Expressions.
The integer value representing the HOUR was wrong in the documentation.

Thanks Mirco Vogelsmeier for spotting this and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1703965 13f79535-47bb-0310-9956-ffa450edef68
2015-09-19 09:14:48 +00:00
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