1 | static int katzeLog_pairsCloseInTime_maxSeconds = 12; |
2 | |
3 | // returns strings without date |
4 | static L<Pair<S>> katzeLog_pairsCloseInTime() {
|
5 | new L<Pair<S>> l; |
6 | for (Pair<S> p : listToOverlappingPairs(mL_katzeLog())) {
|
7 | long dateDiff = parseKatzeLogEntryDate(p.b)-parseKatzeLogEntryDate(p.a); |
8 | if (dateDiff/1000.0 > katzeLog_pairsCloseInTime_maxSeconds) continue; |
9 | l.add(pairMap dropLeadingSquareBracketStuff(p)); |
10 | } |
11 | ret l; |
12 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1014657 |
| Snippet name: | katzeLog_pairsCloseInTime |
| Eternal ID of this version: | #1014657/1 |
| Text MD5: | 63e0302edc0eca724eacd560817ccc06 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-04-29 00:02:19 |
| Source code size: | 446 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 602 / 645 |
| Referenced in: | [show references] |