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

7
LINES

< > BotCompany Repo | #1014495 // simpleDateFormat_local

JavaX fragment (include)

import java.text.*;

static SimpleDateFormat simpleDateFormat_local(S format) {
  SimpleDateFormat sdf = new SimpleDateFormat(format);
  sdf.setTimeZone(localTimeZone());
  ret sdf;
}

Author comment

Began life as a copy of #1009025

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lnbujpyubztb, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1014495
Snippet name: simpleDateFormat_local
Eternal ID of this version: #1014495/1
Text MD5: 7d7b6ce6373b00378eec76cf9cc56226
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-22 15:43:22
Source code size: 189 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 432 / 530
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1021995 - simpleDateFormat_timeZone
#1031147 - simpleDateFormat_local_now
#1031150 - simpleDateFormat_defaultTZ