1 | static long timeToNextLocalHour() {
|
2 | ret timeToNextLocalHour(now()); |
3 | } |
4 | |
5 | static long timeToNextLocalHour(long now) {
|
6 | L<S> l = splitAtSpace(simpleDateFormat_local("mm ss SSSS").format(now));
|
7 | ret 60*60000-((parseInt(first(l))*60 + parseInt(second(l)))*1000 + parseInt(third(l))); |
8 | } |
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: | 531 / 575 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |