java.lang.Object
ws.slink.intervals.impl.CustomInterval
ws.slink.intervals.impl.OffsetAwareInterval
ws.slink.intervals.Month
- All Implemented Interfaces:
Interval
public class Month
extends ws.slink.intervals.impl.OffsetAwareInterval
-
Field Summary
Fields inherited from class ws.slink.intervals.impl.OffsetAwareInterval
offsetFields inherited from class ws.slink.intervals.impl.CustomInterval
end, start, timezone -
Constructor Summary
ConstructorsConstructorDescriptionMonth(TimeZone timezone, LocalDateTime start, LocalDateTime end) Month(TimeZone timezone, LocalDateTime start, LocalDateTime end, int offset) -
Method Summary
Modifier and TypeMethodDescriptionstatic Monthstatic Monthstatic Monthstatic Monthprevious()returns previous interval from current (only supported for fixed type intervals, such as day, month, year)returns extended interval including previous one (only supported for fixed type intervals, such as day, month, year)Methods inherited from class ws.slink.intervals.impl.CustomInterval
contains, end, getEnd, getStart, start, timezone, toString
-
Constructor Details
-
Month
-
Month
-
-
Method Details
-
previous
Description copied from interface:Intervalreturns previous interval from current (only supported for fixed type intervals, such as day, month, year)- Returns:
- previous Interval
-
withPrevious
Description copied from interface:Intervalreturns extended interval including previous one (only supported for fixed type intervals, such as day, month, year)- Returns:
- previous Interval
-
of
-
of
-
of
-
of
-