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

4
LINES

< > BotCompany Repo | #1022873 // hh_colon_mm_toMinutes

JavaX fragment (include)

static int hh_colon_mm_toMinutes(S s) {
  LS l = splitAtColon(s);
  ret l(l) != 2 ? -1 : clockTimeToMinutes(parseInt(first(l)), parseInt(second(l)));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1022873
Snippet name: hh_colon_mm_toMinutes
Eternal ID of this version: #1022873/1
Text MD5: 4595c53a2fa1e0793de370e1bc6b8037
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-12 16:55:39
Source code size: 154 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 235 / 285
Referenced in: [show references]