UML time duration expressions as used in the Timer tagged values may be either XSD duration expressions (see XML Schema Part 2: Datatypes - duration) or a comma-separated list of time elements; for example, 2 days, 12 hours.
The list elements or tokens consist of numbers and units. The units are:

second, minute, hour, day, month, and year.

The units can be given in singular or plural form. Thus, 3 seconds, 1 minute is allowed. Furthermore, all units are case insensitive. Seconds can be specified as non-negative floats. All other units must be specified as positive integers.

If the time expression starts with P, the Bridge assumes that the expression is given in the XSD duration format.

Successive tokens having the same unit are not allowed, because they lead to undefined behavior. For example 1 year, 2 years does not evaluate to 3 years but to either one or two years.

  • No labels