1 | import java.text.*; |
2 | |
3 | static S localDateWithMinutes(long time) { |
4 | SimpleDateFormat format = simpleDateFormat_local("yyyy/MM/dd HH:mm"); |
5 | ret format.format(time); |
6 | } |
7 | |
8 | static S localDateWithMinutes() { |
9 | ret localDateWithMinutes(now()); |
10 | } |
Began life as a copy of #1015108
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1015404 |
Snippet name: | localDateWithMinutes |
Eternal ID of this version: | #1015404/1 |
Text MD5: | 780e00e77b1be7205cc6da2d67f918d8 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-13 17:35:25 |
Source code size: | 245 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 465 / 487 |
Referenced in: | [show references] |