Transpiled version (90L) is out of date.
1 | static LongRange cutLongRangeToGranularity(LongRange r, long granularity) { |
2 | if (r == null || granularity < 1) ret r; |
3 | ret LongRange( |
4 | roundUpTo(granularity, r.start), |
5 | roundDownTo(granularity, r.end)); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028633 |
Snippet name: | cutLongRangeToGranularity |
Eternal ID of this version: | #1028633/2 |
Text MD5: | 51153ce7d8f0b857ae5285f4bf30580b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-29 13:42:48 |
Source code size: | 217 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 211 / 295 |
Version history: | 1 change(s) |
Referenced in: | [show references] |