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; }
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: | 294 / 397 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1028551 - simpleDateFormat |