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

8
LINES

< > BotCompany Repo | #1030370 // test_parseHourMinSecOrMinSecAsSeconds_colons (OK)

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

Libraryless. Click here for Pure Java version (2656L/17K).

svoid test_parseHourMinSecOrMinSecAsSeconds_colons() {
  testFunctionValues parseHourMinSecOrMinSecAsSeconds_colons(
    "1:2:3" := 3600+120+3.,
    "50:12" := 50*60+12.,
    "" := Double.NaN,
    null, Double.NaN
  );
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030370
Snippet name: test_parseHourMinSecOrMinSecAsSeconds_colons (OK)
Eternal ID of this version: #1030370/8
Text MD5: f5b5bf8ced901c166f0e86c25a282310
Transpilation MD5: bcf8ebcef1785cdfbae23d92b77dca14
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-09 22:17:41
Source code size: 227 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 114 / 181
Version history: 7 change(s)
Referenced in: [show references]