1 | import java.text.*; |
2 | |
3 | static S germanTime_hhmm() { |
4 | ret germanTime_hhmm(now()); |
5 | } |
6 | |
7 | static S germanTime_hhmm(long time) { |
8 | SimpleDateFormat sdf = new SimpleDateFormat("HH:mm", germanLocale()); |
9 | sdf.setTimeZone(germanTimeZone()); |
10 | ret sdf.format(time); |
11 | } |
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: | 507 / 495 |
Version history: | 2 change(s) |
Referenced in: | [show references] |