1 | sS ymdWithSlashes() { |
2 | ret ymdWithSlashes(now()); |
3 | } |
4 | |
5 | sS ymdWithSlashes(long time) { |
6 | ret simpleDateFormat_local("YYYY/MM/dd").format(time); |
7 | } |
8 | |
9 | sS ymdWithSlashes(long time, TimeZone tz) { |
10 | ret simpleDateFormat("YYYY/MM/dd", tz).format(time); |
11 | } |
Began life as a copy of #1004679
download show line numbers debug dex old transpilations
Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lnbujpyubztb, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1006470 |
Snippet name: | ymdWithSlashes - "yyyy/mm/dd" |
Eternal ID of this version: | #1006470/3 |
Text MD5: | c7e80692d14df8f78ef8fa29e23c7dd8 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-29 15:51:21 |
Source code size: | 255 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 623 / 627 |
Version history: | 2 change(s) |
Referenced in: | [show references] |