Libraryless. Click here for Pure Java version (2494L/16K).
1 | static long yearToTimestamp(int year, TimeZone tz) ctex { |
2 | ret simpleDateFormat("y", tz).parse(str(year)).getTime(); |
3 | } |
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: | #1028550 |
Snippet name: | yearToTimestamp |
Eternal ID of this version: | #1028550/3 |
Text MD5: | 2e2a1c19dc8850fbdba3c82235196c39 |
Transpilation MD5: | b9f490b797f2ce14bb1d923443db91df |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-26 18:18:46 |
Source code size: | 121 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 261 / 363 |
Version history: | 2 change(s) |
Referenced in: | [show references] |