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

Constructor & Destructor Documentation

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

Definition at line 35 of file

Member Function Documentation

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

Definition at line 75 of file

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

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

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

Definition at line 92 of file

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 DateTime org.sleuthkit.autopsy.timeline.utils.IntervalUtils.middleOf ( Interval  interval)
static Interval org.sleuthkit.autopsy.timeline.utils.IntervalUtils.span ( Interval  range,
final Interval  range2 

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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Jun 27 2023
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.