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

7
LINES

< > BotCompany Repo | #1003422 // seconds - seconds of timestamp

JavaX fragment (include)

static int seconds() {
  ret seconds(java.util.Calendar.getInstance());
}

static int seconds(java.util.Calendar c) {
  ret c.get(java.util.Calendar.SECOND);
}

Author comment

Began life as a copy of #1003420

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003422
Snippet name: seconds - seconds of timestamp
Eternal ID of this version: #1003422/4
Text MD5: f62dc11c0580138c825c8f54fb48c1f5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-21 17:39:56
Source code size: 165 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 661 / 852
Version history: 3 change(s)
Referenced in: [show references]