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

5
LINES

< > BotCompany Repo | #1024614 // formatTimestampRanges

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

Libraryless. Click here for Pure Java version (2288L/15K).

// TODO: minutes/hours
sS formatTimestampRanges(L<DoubleRange> l) {
  ret mapToLines(l, r -> 
    ffmpeg_formatSeconds(r.start) + "-" + ffmpeg_formatSeconds(r.end));
}

Author comment

Began life as a copy of #1024609

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024614
Snippet name: formatTimestampRanges
Eternal ID of this version: #1024614/2
Text MD5: b356f3169e6bc2ad76d0a97d7e31aae3
Transpilation MD5: d03c43d2faf1bf6e3b5d1c1672d9347c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-20 00:20:28
Source code size: 171 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 195 / 284
Version history: 1 change(s)
Referenced in: [show references]