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

14
LINES

< > BotCompany Repo | #1022876 // ClockTimeAttractor_colon - "HH:MM"

JavaX fragment (include)

1  
sclass ClockTimeAttractor_colon > PJFindAttractor {
2  
  int hour, minute;
3  
  
4  
  *() {
5  
    super("<int>:<int>");
6  
  }
7  
  
8  
  public bool find() {
9  
    if (!super.find()) false;
10  
    hour = parseInt(get(tok(), 0));
11  
    minute = parseInt(get(tok(), 4));
12  
    true;
13  
  }
14  
}

Author comment

Began life as a copy of #1022870

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: #1022876
Snippet name: ClockTimeAttractor_colon - "HH:MM"
Eternal ID of this version: #1022876/2
Text MD5: ade9be8e82aa636000fa41bce5967243
Author: stefan
Category: javax / discord
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-12 17:07:04
Source code size: 271 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 277 / 717
Version history: 1 change(s)
Referenced in: [show references]