Microformats test suite

hCalendar 3 - ISO duration format test

This page was design to comprehensively test the ISO duration format. More information on duration representations in microformats

From: hCalendar test suite 1.0

Author: Glenn Jones

Tests:

Test Result Comment
vevent[0].duration IsEqualTo("P9M") The duration value
vevent[1].duration IsEqualTo("P1Y2M") The duration value
vevent[2].duration IsEqualTo("P1Y2M10D") The duration value
vevent[3].duration IsEqualTo("P1Y2M10DT20H") The duration value
vevent[4].duration IsEqualTo("P1Y2M10DT20H30M") The duration value
vevent[5].duration IsEqualTo("P1Y2M10DT20H30M30S") The duration value
vevent[6].duration IsEqualTo("P1Y2M10DT20H30M30.5S") The duration value
vevent[7].duration IsEqualTo("P1Y2M10DT20.5H") The duration value
vevent[8].duration IsEqualTo("P110D") The duration value
vevent[9].duration IsEqualTo("PT30M") The duration value
vevent[10].duration IsEqualTo("P0001-02-10") The duration value
vevent[11].duration IsEqualTo("P0001-02-10T14:30:30") The duration value

History:

Last holiday

Location: Wales
8 September - for 9 months

Last holiday

Location: Wales
8 September - for 1 year and 2 months

Last holiday

Location: Wales
8 September - for 1 year ,2 months and 10 days

Last holiday

Location: Wales
8 September - for 1 year, 2 months, 10 days and 20 hours

Last holiday

Location: Wales
8 September - for 1 year, 2 months, 10 days, 20 hours and 30 min

Last holiday

Location: Wales
8 September - for 1 year, 2 months, 10 days, 20 hours, 30 min and 30 sec

Last holiday

Location: Wales
8 September - for 1 year, 2 months, 10 days, 20 hours, 30 min and 30.5 sec

Last holiday

Location: Wales
8 September - for 1 year, 2 months, 10 days, 20.5 hours

Last holiday

Location: Wales
8 September - for 110 days

Last holiday

Location: Wales
8 September - for 30 min

Last holiday

Location: Wales
8 September - for 1 year, 2 months and 10 days

Last holiday

Location: Wales
8 September - for 1 year, 2 months, 10 days, 14 hours, 30 min and 30 sec

Some rights reserved