Autopsy  4.10.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Static Public Member Functions | List of all members
org.sleuthkit.autopsy.timeline.utils.IntervalUtils Class Reference

Static Public Member Functions

static Interval extendInterval (Interval range, final Long eventTime)
 
static Interval getAdjustedInterval (Interval oldInterval, TimeUnits requestedUnit)
 
static Interval getIntervalAround (DateTime aroundInstant, ReadablePeriod period)
 
static Interval getIntervalAround (Instant aroundInstant, TemporalAmount temporalAmount)
 
static Interval getIntervalAroundMiddle (Interval interval, ReadablePeriod period)
 
static Interval getSpanningInterval (Collection< DateTime > times)
 
static DateTime middleOf (Interval interval)
 
static Interval span (Interval range, final Interval range2)
 

Detailed Description

Definition at line 33 of file IntervalUtils.java.

Member Function Documentation

static Interval org.sleuthkit.autopsy.timeline.utils.IntervalUtils.extendInterval ( Interval  range,
final Long  eventTime 
)
static
static Interval org.sleuthkit.autopsy.timeline.utils.IntervalUtils.getAdjustedInterval ( Interval  oldInterval,
TimeUnits  requestedUnit 
)
static
static Interval org.sleuthkit.autopsy.timeline.utils.IntervalUtils.getIntervalAround ( DateTime  aroundInstant,
ReadablePeriod  period 
)
static
static Interval org.sleuthkit.autopsy.timeline.utils.IntervalUtils.getIntervalAround ( Instant  aroundInstant,
TemporalAmount  temporalAmount 
)
static

Definition at line 73 of file IntervalUtils.java.

static Interval org.sleuthkit.autopsy.timeline.utils.IntervalUtils.getIntervalAroundMiddle ( Interval  interval,
ReadablePeriod  period 
)
static

Get an interval the length of the given period, centered around the center of the given interval.

Parameters
intervalThe interval whose center will be the center of the new interval.
periodThe length of the new interval
Returns
An interval the length of the given period, centered around the center of the given interval.

Definition at line 91 of file IntervalUtils.java.

References org.sleuthkit.autopsy.timeline.utils.IntervalUtils.getIntervalAround(), and org.sleuthkit.autopsy.timeline.utils.IntervalUtils.middleOf().

Referenced by org.sleuthkit.autopsy.timeline.TimeLineController.pushPeriod(), and org.sleuthkit.autopsy.timeline.TimeLineController.pushTimeUnit().

static Interval org.sleuthkit.autopsy.timeline.utils.IntervalUtils.getSpanningInterval ( Collection< DateTime >  times)
static
static DateTime org.sleuthkit.autopsy.timeline.utils.IntervalUtils.middleOf ( Interval  interval)
static
static Interval org.sleuthkit.autopsy.timeline.utils.IntervalUtils.span ( Interval  range,
final Interval  range2 
)
static

The documentation for this class was generated from the following file:

Copyright © 2012-2018 Basis Technology. Generated on: Fri Mar 22 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.