Libraryless. Click here for Pure Java version (92L/1K).
1 | |
2 | |
3 | static S formatDateWithSeconds(long time) {
|
4 | ret localDateWithSeconds(time); |
5 | } |
6 | |
7 | |
8 | |
9 | static S formatDateWithSeconds() {
|
10 | ret localDateWithSeconds(); |
11 | } |
12 | |
13 | static S formatDateWithSeconds(long time, TimeZone tz) {
|
14 | ret simpleDateFormat("yyyy/MM/dd HH:mm:ss", tz).format(time);
|
15 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028052 |
| Snippet name: | formatDateWithSeconds - extended synonym of localDateWithSeconds |
| Eternal ID of this version: | #1028052/5 |
| Text MD5: | 1fff0dd2fbb730db68a8fa4861efd799 |
| Transpilation MD5: | 907ca054f943eed7f6c7e3c8245a3ccc |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-06-28 17:12:35 |
| Source code size: | 289 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 456 / 615 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |