# Deprecated API

## Contents

- Deprecated Methods
- Deprecated Constructors

Deprecated Methods
Method and Description
net.fortuna.ical4j.model.Period.includes(Date, boolean) use `DateRange.includes(Date, int)` instead.
net.fortuna.ical4j.util.Dates.round(long, int) It is not all that useful to perform rounding without specifying an explicit timezone.
net.fortuna.ical4j.model.component.CalendarComponent.validateAdd()
net.fortuna.ical4j.model.component.CalendarComponent.validateCancel()
net.fortuna.ical4j.model.component.CalendarComponent.validateCounter()
net.fortuna.ical4j.model.component.CalendarComponent.validateDeclineCounter()
net.fortuna.ical4j.model.component.CalendarComponent.validatePublish()
net.fortuna.ical4j.model.component.CalendarComponent.validateRefresh()
net.fortuna.ical4j.model.component.CalendarComponent.validateReply()
net.fortuna.ical4j.model.component.CalendarComponent.validateRequest()

Deprecated Constructors
Constructor and Description
net.fortuna.ical4j.filter.Filter(Rule) Prior implementations of this class did not work as advertised, so to avoid confusion please use constructors that explicitly specify the desired behaviour
net.fortuna.ical4j.model.Property(Property) Use `Property.copy()` instead