Klaus,
> I have to calculate the time between two time values (ok, no problem). But
on
> the other hand, I need something to satisfy constraints like the
following:
>
> => No work on official holiday.
> => If work on sunday, then one of the next to sundays has to be free!
> => If work on official holiday, then .......
probably the problem is that Oz is not "user interface oriented" in visual
tools and classes to manipulate real world objects.
I followed another way that is to build up a user interface with VisualBasic
or Smalltalk (where you can find all the Time/Date classes) and communicate
to the "Oz server" only the allowed or forbidden domains (calendars are
expressed in timeunits).
That is Oz sees the constrain problem in a predigested way where only
numbers and very basic strutcures are allowed to express the problem.
Adriano.
-
Please send submissions to users@mozart-oz.org
and administriva mail to users-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.
Please send bug reports to bugs@mozart-oz.org.