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

8
LINES

< > BotCompany Repo | #1028552 // formatDateRangeWithSeconds

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (141L/1K).

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

Author comment

Began life as a copy of #1028052

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: #1028552
Snippet name: formatDateRangeWithSeconds
Eternal ID of this version: #1028552/3
Text MD5: 6f6565bb422a7ef66e3a005562d2e516
Transpilation MD5: f274af0f478aa2d785fbda568c2a3815
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-29 13:08:15
Source code size: 301 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 218 / 323
Version history: 2 change(s)
Referenced in: [show references]