public virtual int getOffset() { if (this.TimeZone == null) //return false; throw new InvalidOperationException(); return (int)this.TimeZone.BaseUtcOffset.TotalSeconds; }