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

11
LINES

< > BotCompany Repo | #1021996 // timeInTimeZone (HH:MM)

JavaX fragment (include)

sS timeInTimeZone(S timeZone) {
  ret timeInTimeZone(timeZone, now());
}

sS timeInTimeZone(S timeZone, long time) {
  ret simpleDateFormat_timeZone("HH:mm", timeZone).format(time);
}

sS timeInTimeZone(TimeZone timeZone, long time) {
  ret simpleDateFormat("HH:mm", timeZone).format(time);
}

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: 275 / 327
Version history: 2 change(s)
Referenced in: [show references]