|
| |
|
With SimpleDateFormat, you can set your own date patterns. For example, dd/mm/yyyy, mm/dd/yyyy, yyyy-mm-dd, and so on. | |
|
The following pattern letters are defined (all other characters from 'A' to 'Z' and from 'a' to 'z' are reserved): | |
| |
|
The more commonly used patterns can be used by a combination of y (representing a year digit), M (representing a month digit) and d (representing a date digit). | |
|
Examples of patterns are dd/MM/yyyy, dd-MM-yyyy, MM/dd/yyyy, yyyy-MM-dd. | |
| |
|
SimpleDateFormat
最新推荐文章于 2025-07-16 14:42:59 发布
1528

被折叠的 条评论
为什么被折叠?



