2016-03-30 23:04:14 -04:00
|
|
|
USING: accessors calendar calendar.format io io.streams.string
|
|
|
|
kernel math.order sequences tools.test ;
|
2017-01-04 02:50:24 -05:00
|
|
|
IN: calendar.format.tests
|
2013-04-24 11:22:33 -04:00
|
|
|
|
2015-07-03 12:39:59 -04:00
|
|
|
{ } [ now timestamp>rfc3339 drop ] unit-test
|
|
|
|
{ } [ now timestamp>rfc822 drop ] unit-test
|
2013-04-24 11:22:33 -04:00
|
|
|
|
2015-07-03 12:39:59 -04:00
|
|
|
{ }
|
2013-04-24 11:22:33 -04:00
|
|
|
[ { 2008 2009 } [ year. ] each ] unit-test
|
2017-01-04 06:47:45 -05:00
|
|
|
|
|
|
|
|
|
|
|
{ "03:01:59" } [
|
|
|
|
3 hours 1 >>minute 59 >>second duration>hms
|
|
|
|
] unit-test
|