static double ffmpeg_parseTimestamp(S s) { LS l = splitAt_withEmptyLast(s, ":"); double d = 0; for i over l: d = d*60+parseDouble(l.get(i)); ret d; }
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: | #1024607 |
Snippet name: | ffmpeg_parseTimestamp |
Eternal ID of this version: | #1024607/1 |
Text MD5: | c4744b337feed77e137bbb57cf62b242 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-19 21:29:02 |
Source code size: | 167 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 205 / 235 |
Referenced in: | [show references] |