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

7
LINES

< > BotCompany Repo | #1021995 // simpleDateFormat_timeZone

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

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

import java.text.*;

static SimpleDateFormat simpleDateFormat_timeZone(S format, S timeZone) {
  SimpleDateFormat sdf = new SimpleDateFormat(format);
  sdf.setTimeZone(timeZone(timeZone));
  ret sdf;
}

Author comment

Began life as a copy of #1014495

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1021995
Snippet name: simpleDateFormat_timeZone
Eternal ID of this version: #1021995/1
Text MD5: 06aa15a448c1514bae73a7f619c7c707
Transpilation MD5: 8dc14ce9ad4d2739716425ed932aa351
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-04 22:45:13
Source code size: 207 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 221 / 298
Referenced in: [show references]