我看了一些帖子上的Android格式化日期,像这样的:
I read some posts on formatting date on android, like this:
你如何格式化日期和时间的Android?
人们主张使用android.text.format.DateFormat而不是java.text.DateFormat中,
People suggest use android.text.format.DateFormat rather than java.text.DateFormat,
另外这里,它在Android的转换日期字符串时,提了一个问题:
Also here, it mention a problem when converting date to string in android:
Android负载时区时间过长:为EN_US 加载时区名称
我想知道什么是android.text.format.DateFormat和java.text.DateFormat中的?
I am wondering what's the difference between android.text.format.DateFormat and java.text.DateFormat?
怎么样自救吗?比较的API,阅读的JavaDoc,看看自己:
How about some self-help here? Compare the APIs, read the JavaDocs and see for yourself:
java.text中。日期格式
android.text.format.DateFormat