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

8
LINES

< > BotCompany Repo | #1028635 // formatDateRangeWithMinutes

JavaX fragment (include)

sS formatDateRangeWithMinutes(LongRange range) {
  ret formatDateRangeWithMinutes(range, localTimeZone());
}

sS formatDateRangeWithMinutes(LongRange range, TimeZone tz, S separator default " to ") {
  ret range == null ? null
    : formatDateWithMinutes(range.start, tz) + separator + formatDateWithMinutes(range.end, tz);
}

Author comment

Began life as a copy of #1028552

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028635
Snippet name: formatDateRangeWithMinutes
Eternal ID of this version: #1028635/4
Text MD5: 26a9c4aa5c9cb068fa0cf946be04872b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-29 14:28:01
Source code size: 332 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 235 / 288
Version history: 3 change(s)
Referenced in: [show references]