Libraryless. Click here for Pure Java version (14692L/101K).
!7 module HourlyOnMark > DynPrintLog { transient java.util.Timer timer; start { startTimer(); ownResource(tempAddToList((L) dm_getOSOpt('timeJumpDetector_onTimeJump), r onTimeJump)); } void onTimeJump enter { print("TIME JUMP"); cancelTimer(timer); startTimer(); } void startTimer { timer = atTheStartOfEveryHour(r { logQuotedWithDate(javaxDataDir("hourly-mark.log"), print("On at: ", localDateWithSeconds())); }); } }
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: | #1018680 |
Snippet name: | Hourly Mark |
Eternal ID of this version: | #1018680/10 |
Text MD5: | aac3b1e2de69dd65a291dbf700dfccf1 |
Transpilation MD5: | ad961dff4dd891a483417b1dca0a3815 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-12 16:43:13 |
Source code size: | 497 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 400 / 1140 |
Version history: | 9 change(s) |
Referenced in: | -