Has anyone succeeded in parsing a date with a custom timezone in GWT? GWT DateTimeFormat allows you to format dates according to the time zone, but I did not find a method for the opposite operation. So what should I do if I have the line "02: 01: 2011" (format "MM: dd: yyyy"). It may have different results in different time zones.
Another problem occurs when trying to change dates, months, etc. How can I do this based on a custom time zone?
Maybe there is a library that can simplify all these operations?
I made a workaround and add a timezone part for each date line that skips this part. Still looking for a more professional solution.
source share