Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Static Public Member Functions | Private 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)
 

Private Member Functions

 IntervalUtils ()
 

Detailed Description

Definition at line 33 of file IntervalUtils.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.utils.IntervalUtils.IntervalUtils ( )
private

Definition at line 35 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 75 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 92 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-2022 Basis Technology. Generated on: Wed Sep 28 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.