• R/O
  • SSH
  • HTTPS

manjyurss: 提交


Commit MetaInfo

修訂22 (tree)
時間2012-11-14 21:05:02
作者iga

Log Message

save

Change Summary

差異

--- manjyu-rss/trunk/test/src/org/manjyu/rss/util/ManjyuRssDateUtilTest.java (nonexistent)
+++ manjyu-rss/trunk/test/src/org/manjyu/rss/util/ManjyuRssDateUtilTest.java (revision 22)
@@ -0,0 +1,12 @@
1+package org.manjyu.rss.util;
2+
3+public class ManjyuRssDateUtilTest {
4+ public static void main(final String[] args) throws Exception {
5+ System.out.println(ManjyuRssDateUtil.w3cdtfString2Date("2012-11-14T08:39:11.5+00:00").toString());
6+ System.out.println(ManjyuRssDateUtil.w3cdtfString2Date("2012-11-14T08:39:11+00:00").toString());
7+ System.out.println(ManjyuRssDateUtil.w3cdtfString2Date("2012-11-14T08:39+00:00").toString());
8+ System.out.println(ManjyuRssDateUtil.w3cdtfString2Date("2012-11-14").toString());
9+ System.out.println(ManjyuRssDateUtil.w3cdtfString2Date("2012-11").toString());
10+ System.out.println(ManjyuRssDateUtil.w3cdtfString2Date("2012").toString());
11+ }
12+}
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Show on old repository browser