/** * Constructs a new instance based on the specified VTimeZone. * * @param vTimeZone a VTIMEZONE object instance */ public TimeZone(final VTimeZone vTimeZone) { this.vTimeZone = vTimeZone; final TzId tzId = vTimeZone.getProperty(Property.TZID); setID(tzId.getValue()); this.rawOffset = getRawOffset(vTimeZone); }
/** * Constructs a new instance based on the specified VTimeZone. * * @param vTimeZone a VTIMEZONE object instance */ public TimeZone(final VTimeZone vTimeZone) { this.vTimeZone = vTimeZone; final TzId tzId = (TzId) vTimeZone.getProperty(Property.TZID); setID(tzId.getValue()); this.rawOffset = getRawOffset(vTimeZone); }
/** * Constructs a new instance based on the specified VTimeZone. * @param vTimeZone a VTIMEZONE object instance */ public TimeZone(final VTimeZone vTimeZone) { this.vTimeZone = vTimeZone; final TzId tzId = (TzId) vTimeZone.getProperty(Property.TZID); setID(tzId.getValue()); this.rawOffset = getRawOffset(vTimeZone); }
/** * Constructs a new instance based on the specified VTimeZone. * * @param vTimeZone a VTIMEZONE object instance */ public TimeZone(final VTimeZone vTimeZone) { this.vTimeZone = vTimeZone; final TzId tzId = vTimeZone.getProperty(Property.TZID); setID(tzId.getValue()); this.rawOffset = getRawOffset(vTimeZone); }
/** * Constructs a new instance based on the specified VTimeZone. * * @param vTimeZone a VTIMEZONE object instance */ public TimeZone(final VTimeZone vTimeZone) { this.vTimeZone = vTimeZone; final TzId tzId = (TzId) vTimeZone.getProperty(Property.TZID); setID(tzId.getValue()); this.rawOffset = getRawOffset(vTimeZone); }
utcTz.setID(TimeZones.UTC_ID);