/** * @return the mandatory timezone identifier property */ public final TzId getTimeZoneId() { return getProperty(Property.TZID); }
/** * @return the mandatory timezone identifier property */ public final TzId getTimeZoneId() { return getProperty(Property.TZID); }
/** * @return the optional timezone url property */ public final TzUrl getTimeZoneUrl() { return getProperty(Property.TZURL); }
/** * @return the optional timezone url property */ public final TzUrl getTimeZoneUrl() { return getProperty(Property.TZURL); }
/** * @return the optional last-modified property */ public final LastModified getLastModified() { return getProperty(Property.LAST_MODIFIED); }
/** * @return the optional timezone url property */ public final TzUrl getTimeZoneUrl() { return (TzUrl) getProperty(Property.TZURL); }
/** * @return the optional timezone url property */ public final TzUrl getTimeZoneUrl() { return (TzUrl) getProperty(Property.TZURL); }
/** * @return the mandatory timezone identifier property */ public final TzId getTimeZoneId() { return (TzId) getProperty(Property.TZID); }
/** * @return the optional timezone url property */ public final TzUrl getTimeZoneUrl() { return (TzUrl) getProperty(Property.TZURL); }
/** * @return the mandatory timezone identifier property */ public final TzId getTimeZoneId() { return (TzId) getProperty(Property.TZID); }
/** * @return the optional last-modified property */ public final LastModified getLastModified() { return getProperty(Property.LAST_MODIFIED); }
/** * @return the optional last-modified property */ public final LastModified getLastModified() { return (LastModified) getProperty(Property.LAST_MODIFIED); }
/** * @return the mandatory timezone identifier property */ public final TzId getTimeZoneId() { return (TzId) getProperty(Property.TZID); }
/** * @return the optional last-modified property */ public final LastModified getLastModified() { return (LastModified) getProperty(Property.LAST_MODIFIED); }
/** * 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 = 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); }
protected void setUp() throws Exception { super.setUp(); // relax validation to avoid UID requirement.. CompatibilityHints.setHintEnabled( CompatibilityHints.KEY_RELAXED_VALIDATION, true); registry = TimeZoneRegistryFactory.getInstance().createRegistry(); // create timezone property.. tz = registry.getTimeZone("Australia/Melbourne").getVTimeZone(); // create tzid parameter.. tzParam = new TzId(tz.getProperty(Property.TZID) .getValue()); }
public void setUp() throws Exception { super.setUp(); // relax validation to avoid UID requirement.. CompatibilityHints.setHintEnabled(CompatibilityHints.KEY_RELAXED_VALIDATION, true); TimeZoneRegistry registry = TimeZoneRegistryFactory.getInstance().createRegistry(); // create timezone property.. VTimeZone tz = registry.getTimeZone("Australia/Melbourne").getVTimeZone(); // create tzid parameter.. tzParam = new TzId(tz.getProperty(Property.TZID).getValue()); }