1 | sS timeInTimeZone(S timeZone) { |
2 | ret timeInTimeZone(timeZone, now()); |
3 | } |
4 | |
5 | sS timeInTimeZone(S timeZone, long time) { |
6 | ret simpleDateFormat_timeZone("HH:mm", timeZone).format(time); |
7 | } |
8 | |
9 | sS timeInTimeZone(TimeZone timeZone, long time) { |
10 | ret simpleDateFormat("HH:mm", timeZone).format(time); |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1021996 |
Snippet name: | timeInTimeZone (HH:MM) |
Eternal ID of this version: | #1021996/3 |
Text MD5: | 5f29bba196b17b9eb092597798d8e541 |
Author: | stefan |
Category: | javax / calendar |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-28 17:29:57 |
Source code size: | 302 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 276 / 329 |
Version history: | 2 change(s) |
Referenced in: | [show references] |