1 | import java.text.*; |
2 | |
3 | static S formatGermanDateAndTime() { |
4 | ret formatGermanDateAndTime(now()); |
5 | } |
6 | |
7 | static S formatGermanDateAndTime(long time) { |
8 | SimpleDateFormat sdf = new SimpleDateFormat("dd. MMMM yyyy HH:mm:ss", germanLocale()); |
9 | sdf.setTimeZone(germanTimeZone()); |
10 | ret sdf.format(time); |
11 | } |
Began life as a copy of #1008488
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: | #1010035 |
Snippet name: | formatGermanDateAndTime |
Eternal ID of this version: | #1010035/5 |
Text MD5: | fdeda198b6da26e9cfb880cc5725f926 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-03-16 19:47:33 |
Source code size: | 306 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 482 / 549 |
Version history: | 4 change(s) |
Referenced in: | [show references] |