Libraryless. Click here for Pure Java version (9259L/51K).
static TimestampRange growTimestampRange(TimestampRange r, long amount) { ret r == null ?: new TimestampRange(r.start.unixDate()-amount, r.end.unixDate()+amount); }
Began life as a copy of #1035706
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1036187 |
| Snippet name: | growTimestampRange - grows to both sides |
| Eternal ID of this version: | #1036187/2 |
| Text MD5: | b185117068e04125bc15ead5a596964a |
| Transpilation MD5: | ebc39a9c7ffea8eedfd09b2a69b963bb |
| Author: | stefan |
| Category: | javax / maths |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-10-10 19:59:42 |
| Source code size: | 168 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 394 / 485 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |