java.lang.Object
net.fortuna.ical4j.model.DateRange
- All Implemented Interfaces:
Serializable
Deprecated.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.A flag indicating whether to include the end of the period in test functions.static final intDeprecated.A flag indicating whether to include the start of the period in test functions. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanDeprecated.Decides whether these periods are serial without a gap.final booleanDeprecated.Decides whether this period starts after the given period ends.final booleanDeprecated.Decides whether this period is completed before the given period starts.final booleanDeprecated.Decides whether the given period is completely contained within this one.booleanDeprecated.Deprecated.Deprecated.inthashCode()Deprecated.final booleanDeprecated.Determines if the specified date occurs within this period (inclusive of period start and end).final booleanDeprecated.Decides whether a date falls within this period.final booleanintersects(DateRange range) Deprecated.Decides whether this period intersects with another one.
-
Field Details
-
INCLUSIVE_START
public static final int INCLUSIVE_STARTDeprecated.A flag indicating whether to include the start of the period in test functions.- See Also:
-
INCLUSIVE_END
public static final int INCLUSIVE_ENDDeprecated.A flag indicating whether to include the end of the period in test functions.- See Also:
-
-
Constructor Details
-
DateRange
Deprecated.- Parameters:
start- the start of the rangeend- the end of the range
-
-
Method Details
-
getRangeStart
Deprecated.- Returns:
- the rangeStart
-
getRangeEnd
Deprecated.- Returns:
- the rangeEnd
-
includes
Deprecated.Determines if the specified date occurs within this period (inclusive of period start and end).- Parameters:
date- a date to test for inclusion- Returns:
- true if the specified date occurs within the current period
-
includes
Deprecated.Decides whether a date falls within this period.- Parameters:
date- the date to be testedinclusiveMask- specifies whether period start and end are included in the calculation- Returns:
- true if the date is in the period, false otherwise
-
before
Deprecated.Decides whether this period is completed before the given period starts.- Parameters:
range- a period that may or may not start after this period ends- Returns:
- true if the specified period starts after this periods ends, otherwise false
-
after
Deprecated.Decides whether this period starts after the given period ends.- Parameters:
range- a period that may or may not end before this period starts- Returns:
- true if the specified period end before this periods starts, otherwise false
-
intersects
Deprecated.Decides whether this period intersects with another one.- Parameters:
range- a possible intersecting period- Returns:
- true if the specified period intersects this one, false otherwise.
-
adjacent
Deprecated.Decides whether these periods are serial without a gap.- Parameters:
range- a period to test for adjacency- Returns:
- true if one period immediately follows the other, false otherwise
-
contains
Deprecated.Decides whether the given period is completely contained within this one.- Parameters:
range- the period that may be contained by this one- Returns:
- true if this period covers all the dates of the specified period, otherwise false
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-
Intervalinstead.