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

11
LINES

< > BotCompany Repo | #1013943 // germanTime_hhmm

JavaX fragment (include)

import java.text.*;

static S germanTime_hhmm() {
  ret germanTime_hhmm(now());
}

static S germanTime_hhmm(long time) {
  SimpleDateFormat sdf = new SimpleDateFormat("HH:mm", germanLocale());
  sdf.setTimeZone(germanTimeZone());
  ret sdf.format(time);
}

Author comment

Began life as a copy of #1010035

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1013943
Snippet name: germanTime_hhmm
Eternal ID of this version: #1013943/3
Text MD5: 4415f40e64e2a12e5cb51144272843b9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-16 20:18:13
Source code size: 265 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 506 / 494
Version history: 2 change(s)
Referenced in: [show references]