static long timeToNextLocalHour() { ret timeToNextLocalHour(now()); } static long timeToNextLocalHour(long now) { L<S> l = splitAtSpace(simpleDateFormat_local("mm ss SSSS").format(now)); ret 60*60000-((parseInt(first(l))*60 + parseInt(second(l)))*1000 + parseInt(third(l))); }
Began life as a copy of #1016171
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018681 |
Snippet name: | timeToNextLocalHour - in ms |
Eternal ID of this version: | #1018681/2 |
Text MD5: | 5f0b3c04dcfd8c622a99c14a32fbef5a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-09 23:02:21 |
Source code size: | 290 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 307 / 348 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1018682 - timeOfNextLocalHour - in now() time |