Microformats test suite

hCalendar 7 - ISO date format test - RFC 3339 profile

This page was design to partial test the use of the RFC 3339 profile. It extends the tests on page 10. The IsEqualToISODate method normalisation and compares dates.

From: hCalendar test suite 1.0

Author: Glenn Jones

Tests:

Test Result Comment
vevent[0].dtstart IsEqualToISODate("200801") Should find a date from text node - ISO standard date format
vevent[1].dtstart IsEqualToISODate("20080121") Should find a date from text node - ISO extended date format
vevent[2].dtstart IsEqualToISODate("20070501T1130") Should find a date from text node - ISO standard date format
vevent[3].dtstart IsEqualToISODate("20070501T113015") Should find a date from text node - ISO standard date format
vevent[4].dtstart IsEqualToISODate("20070501T113015Z") Should find a date from text node - uppercase punctuation
vevent[5].dtstart IsEqualToISODate("20070501t113015z") Should find a date from text node - lowercase punctuation
vevent[6].dtstart IsEqualToISODate("2007-05-01T113025") Should find a date from text node - mixed punctuation
vevent[7].dtstart IsEqualToISODate("20070501T11:30:25") Should find a date from text node - mixed punctuation

History:

Web Standards meet up
Starts: 1 June
1.example.com
Web Standards meet up
Starts: 1 June
2.example.com
Web Standards meet up
Starts: 1 June
3.example.com
Web Standards meet up
Starts: 1 June
4.example.com
Web Standards meet up
Starts: 1 June
5.example.com
Web Standards meet up
Starts: 1 June
6.example.com
Web Standards meet up
Starts: 1 June
7.example.com
Web Standards meet up
Starts: 1 June
8.example.com

Some rights reserved