Package org.bedework.calfacade.base
Class BwTimeRange
java.lang.Object
org.bedework.calfacade.base.BwTimeRange
- All Implemented Interfaces:
org.bedework.util.logging.Logged
Timerange element for filters. Either start or end may be absent but
not both.
- Author:
- Mike Douglass douglm bedework.edu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDebuggetEnd()org.bedework.util.logging.BwLoggergetStart()booleanmatches(net.fortuna.ical4j.model.Property candidate) Test if the given property falls in the timerangevoidmerge(BwTimeRange that) merge that into thisvoidsetEnd(BwDateTime val) voidsetStart(BwDateTime val) toString()protected voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warn
-
Constructor Details
-
BwTimeRange
public BwTimeRange()Constructor -
BwTimeRange
Constructor- Parameters:
start-end-
-
-
Method Details
-
setStart
- Parameters:
val- BwDateTime start
-
getStart
- Returns:
- BwDateTime start
-
setEnd
- Parameters:
val- BwDateTime end
-
getEnd
- Returns:
- BwDateTime end
-
merge
merge that into this- Parameters:
that- TimeRange to merge
-
matches
public boolean matches(net.fortuna.ical4j.model.Property candidate) Test if the given property falls in the timerange- Parameters:
candidate-- Returns:
- boolean true if in range
-
dump
Debug- Parameters:
indent-
-
toStringSegment
-
toString
-
getLogger
public org.bedework.util.logging.BwLogger getLogger()- Specified by:
getLoggerin interfaceorg.bedework.util.logging.Logged
-