List of usage examples for com.google.gwt.i18n.client TimeZone getOffset
public int getOffset(Date date)
From source file:org.ssgwt.client.i18n.SSDate.java
License:Apache License
/** * Sets the time zone of the date/* www . j a v a 2 s . com*/ * * @author Johannes Gryffenberg <johannes.gryffenberg@gmail.com> * @since 16 July 2016 * * @param timeZone - The time zone of the date */ public void setTimeZone(TimeZone timeZone) { setTimezoneOffset(timeZone.getOffset(this)); this.timeZone = timeZone; }