Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1036248 // duration

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (9542L/52K).

static Duration duration(TimestampRange r) {
  ret r == null ? Duration.ZERO : r.duration();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036248
Snippet name: duration
Eternal ID of this version: #1036248/1
Text MD5: afba210a336edc9573fe4ac9140c941c
Transpilation MD5: 90ab76f2a74540bbb7ab6bf0c5f8421d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-03 21:39:34
Source code size: 96 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 82 / 127
Referenced in: [show references]