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

7
LINES

< > TinyBrain | #1008888 - calendarForTimeZone

JavaX fragment (include)

static Calendar calendarForTimeZone(TimeZone tz) {
  ret Calendar.getInstance(tz);
}

static Calendar calendarForTimeZone(S tz) {
  ret calendarForTimeZone(TimeZone.getTimeZone(tz));
}

download  show line numbers  debug dex   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

No comments. add comment

Snippet ID: #1008888
Snippet name: calendarForTimeZone
Eternal ID of this version: #1008888/2
Text MD5: 670af4ec9ff3b79e00ae43b7038f76a7
Author: stefan
Category: javax / calendar
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-15 18:56:55
Source code size: 190 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 49 / 76
Version history: 1 change(s)
Referenced in: [show]