// heure UTC
SimpleDateFormat utcdatestr = new SimpleDateFormat("yyyyMMddHHmmssSSS");
utcdatestr.setTimeZone(TimeZone.getTimeZone("UTC"));
Date utcdate = utcdatestr.parse(dateOrg);
// heure JST
SimpleDateFormat tokyoSdf = new SimpleDateFormat("yyyyMMddHHmmssSSS");
tokyoSdf.setTimeZone(TimeZone.getTimeZone("Asia/Tokyo"));
date = tokyoSdf.format(utcdate);
Recommended Posts