Page History
Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Syntax |
| ||||||
---|---|---|---|---|---|---|---|
Semantics | Converts a string having the XML Schema Duration |
...
format into a DateTime object. Duration |
...
may be expressed using all the parts of a DateTime type (from year to fractions of a second) and are, therefore, defined as a "six-dimensional space". As the relation between some of the date parts is not fixed (such as the number of days in a month), the order relationship between durations is only partial and the result of a comparison between two durations may be undetermined. |
...
of |
...
. The capital letters are delimiters and can be omitted when the corresponding member is not used. Example:
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
Substitutables | aString | Can be any variable or object attribute having the type String. The format must correspond to the XML Schema Duration format. |
---|---|---|
LITERAL | String literal. The format must correspond to the XML Schema Duration format. | |
Error Codes | Find the related error codes on System Errors of type conversion operations. | |
Examples | This example generates a DateTime object that corresponds to the duration of two days. This object can then be used to do time |
...
arithmetic, that is, adding and subtracting durations from dates. |
...
You can find a xUML example of how to apply durations |
...
in section Arithmetic Operations.
|
Panel | ||
---|---|---|
| ||
Panel | ||
---|---|---|
| ||