numberofdives

— empty element

Occurrence

optional, single

Attributes

timeinterval=duration of time interval with its end date — compulsory

dives=number of dives made in the time interval given — compulsory

Description

The element indicates the number of dives (given as an integer) made in the given interval by the owner of the UDDF file. Both parameters are given as attributes.

The time interval is given after the conventions of the International Organization for Standardization (ISO), ISO 8601 (see also for example http://en.wikipedia.org/wiki/ISO_8601, and http://de.wikipedia.org/wiki/ISO_8601). The format here is duration, slash "/" (as separator), and end date.

The duration is introduced by the uppercase letter "P" (for "period"). The format then is PnYnMnDTnHnMnS, where "n" indicates the value for each of the date and time elements that follow the "n". "Y" designates the year, "M" the month, "D" the day, "T" indicates the beginning of the time representation, "H" the hour, "M" the minute, and "S" the second. Also, the number of weeks may be given in the format PnW. Leading zeros are not required here. Date and time elements including their designator may be omitted if their value is zero, and lower order elements may also be omitted for reduced precision. The smallest value used may also have a decimal fraction.

For further illustration see <datetime>.

Parent Elements

<personal>

Child Elements

See Also

<datetime>, <owner>

Examples

(see also <datetime> and <owner>)

<!-- 123 dives were made during the last twelve months -->
<numberofdives timeinterval="P1Y/2009-02-16" dives="123"/>
                
<!-- 123 dives were made during the last twelve months -->
<numberofdives timeinterval="P12M/2009-02-16" dives="123"/>