Libraryless. Click here for Pure Java version (2494L/16K).
static long yearToTimestamp(int year, TimeZone tz) ctex { ret simpleDateFormat("y", tz).parse(str(year)).getTime(); }
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: | 479 / 614 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1028556 - yearAndMonthToTimestamp |