Libraryless. Click here for Pure Java version (40L/1K).
import java.text.*; static SimpleDateFormat simpleDateFormat_defaultTZ(S format) { SimpleDateFormat sdf = new SimpleDateFormat(format); sdf.setTimeZone(defaultTimeZone()); ret sdf; }
Began life as a copy of #1014495
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031150 |
Snippet name: | simpleDateFormat_defaultTZ |
Eternal ID of this version: | #1031150/1 |
Text MD5: | 8c7ddf73a2b33539943f66aca403b948 |
Transpilation MD5: | fd229f363849d3e47074d85ae3a41058 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-05-13 16:36:35 |
Source code size: | 195 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 138 / 204 |
Referenced in: | [show references] |