i need translate between iana timezone & windows timezone & vice-versa. there question reported: how translate between windows , iana time zones?
it specifies noda time library can used in .net
do have library used in java? or other utility used in java?
this may need, don't know if work use cases:
for (string tzid : timezone.getavailableids()) { timezone tz = timezone.gettimezone(tzid); if (tz.getdisplayname(locale.english).equals("eastern standard time")) { system.out.println("tz = " + tzid); } }
Comments
Post a Comment