1 | static int localYear() { |
2 | ret localYear(now()); |
3 | } |
4 | |
5 | static int localYear(long time) { |
6 | ret parseInt(simpleDateFormat_local("yyyy").format(time)); |
7 | } |
Began life as a copy of #1017441
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017646 |
Snippet name: | localYear |
Eternal ID of this version: | #1017646/4 |
Text MD5: | 1ccfd01a34c3cbe5bfd5de04cea99a1f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-31 01:34:46 |
Source code size: | 154 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 377 / 435 |
Version history: | 3 change(s) |
Referenced in: | [show references] |