Libraryless. Click here for Pure Java version (39L/1K).
1 | import java.text.*; |
2 | |
3 | static SimpleDateFormat simpleDateFormat_timeZone(S format, S timeZone) {
|
4 | SimpleDateFormat sdf = new SimpleDateFormat(format); |
5 | sdf.setTimeZone(timeZone(timeZone)); |
6 | ret sdf; |
7 | } |
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: | 519 / 654 |
| Referenced in: | [show references] |