Uses 911K of libraries. Click here for Pure Java version (4297L/21K).
!7 cmodule Clock > DynBigNumber { transient new RestartableCountdown countdown; void start { ownTimer(countdown); setDescription("Local Time"); actualUpdate(); } void actualUpdate { setValue(localTime_24()); long delay = (timeToNextLocalMinute()+100) % 60000; localPrint("Delay: " + delay); countdown.start(delay, r actualUpdate); } }
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: | #1016170 |
Snippet name: | Clock |
Eternal ID of this version: | #1016170/10 |
Text MD5: | 09e920a43b6f29f785e278fe0a5a8d38 |
Transpilation MD5: | 7b5cdf4a5b66a24df9ed400f1d9a00b0 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-11-25 20:03:36 |
Source code size: | 396 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 429 / 74880 |
Version history: | 9 change(s) |
Referenced in: | #1016527 - clockTimeLiveValue |