Libraryless. Click here for Pure Java version (30L/1K).
1 | static java.text.SimpleDateFormat simpleDateFormat(S format, TimeZone timeZone) {
|
2 | java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat(format); |
3 | sdf.setTimeZone(timeZone); |
4 | ret sdf; |
5 | } |
Began life as a copy of #1021995
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028551 |
| Snippet name: | simpleDateFormat |
| Eternal ID of this version: | #1028551/3 |
| Text MD5: | 9cbc7ffe8abe4093e24efd0886d01c85 |
| Transpilation MD5: | 3218071d89241ec3f3147481cae6b16c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-06-26 18:18:19 |
| Source code size: | 202 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 520 / 682 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |