1 | import java.text.SimpleDateFormat; |
2 | |
3 | static long parseYMDHMS_slashesSpaceColons(S s) ctex { |
4 | ret new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").parse(s).getTime(); |
5 | } |
6 | |
7 | static long parseYMDHMS_slashesSpaceColons(S s, TimeZone tz) ctex { |
8 | ret simpleDateFormat("yyyy/MM/dd HH:mm:ss", tz).parse(s).getTime(); |
9 | } |
Began life as a copy of #1022334
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: | #1028542 |
Snippet name: | parseYMDHMS_slashesSpaceColons - "y/m/d h:m:s" |
Eternal ID of this version: | #1028542/4 |
Text MD5: | 6c7dee15a31e983328c4cc66759b2707 |
Author: | stefan |
Category: | javax / calendar |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-02 18:02:43 |
Source code size: | 311 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 199 / 258 |
Version history: | 3 change(s) |
Referenced in: | [show references] |