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

8
LINES

< > BotCompany Repo | #1028635 // formatDateRangeWithMinutes

JavaX fragment (include)

1  
sS formatDateRangeWithMinutes(LongRange range) {
2  
  ret formatDateRangeWithMinutes(range, localTimeZone());
3  
}
4  
5  
sS formatDateRangeWithMinutes(LongRange range, TimeZone tz, S separator default " to ") {
6  
  ret range == null ? null
7  
    : formatDateWithMinutes(range.start, tz) + separator + formatDateWithMinutes(range.end, tz);
8  
}

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: 237 / 291
Version history: 3 change(s)
Referenced in: [show references]