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

4
LINES

< > BotCompany Repo | #1031830 // timestampFromYMDHM

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

Libraryless. Click here for Pure Java version (29L/1K).

// month = 1 to 12
static long timestampFromYMDHM(int y, int m, int d, int h, int minutes) {
  ret new GregorianCalendar(y, m-1, d, h, minutes).getTimeInMillis();
}

Author comment

Began life as a copy of #1011261

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1031830
Snippet name: timestampFromYMDHM
Eternal ID of this version: #1031830/2
Text MD5: ce8c8fab3d3218520240772abd14120b
Transpilation MD5: e2de46ca1f3ef95a8b0f3a30a2219dca
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-07-13 05:48:02
Source code size: 167 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 72 / 122
Version history: 1 change(s)
Referenced in: [show references]