1 USING: accessors calendar calendar.format io io.streams.string
2 kernel math.order sequences tools.test ;
3 IN: calendar.format.tests
5 { } [ now timestamp>rfc3339 drop ] unit-test
6 { } [ now timestamp>rfc822 drop ] unit-test
9 [ { 2008 2009 } [ year. ] each ] unit-test
13 3 hours 1 >>minute 59 >>second duration>hms