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

Public Member Functions

synchronized List< Interval > getIntervals (DateTimeZone tz)
long getLowerBound ()
Interval getOriginalTimeRange ()
TimeUnits getPeriodSize ()
DateTimeFormatter getTickFormatter ()
long getUpperBound ()

Static Public Member Functions

static RangeDivision getRangeDivision (Interval timeRange, DateTimeZone timeZone)

Private Member Functions

 RangeDivision (Interval timeRange, TimeUnits periodSize, long lowerBound, long upperBound)

Private Attributes

final long lowerBound
final TimeUnits periodSize
final Interval timeRange
final long upperBound

Detailed Description

Bundles up the results of analyzing a time range for the appropriate TimeUnits to use to visualize it. Partly, this class exists so I don't have to have more member variables in other places , and partly because I can only return a single value from a function. This might only be a temporary design but is working well for now.

Definition at line 41 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.utils.RangeDivision.RangeDivision ( Interval  timeRange,
TimeUnits  periodSize,
long  lowerBound,
long  upperBound 

Member Function Documentation

synchronized List<Interval> org.sleuthkit.autopsy.timeline.utils.RangeDivision.getIntervals ( DateTimeZone  tz)
long org.sleuthkit.autopsy.timeline.utils.RangeDivision.getLowerBound ( )
Interval org.sleuthkit.autopsy.timeline.utils.RangeDivision.getOriginalTimeRange ( )
TimeUnits org.sleuthkit.autopsy.timeline.utils.RangeDivision.getPeriodSize ( )
static RangeDivision org.sleuthkit.autopsy.timeline.utils.RangeDivision.getRangeDivision ( Interval  timeRange,
DateTimeZone  timeZone 
DateTimeFormatter org.sleuthkit.autopsy.timeline.utils.RangeDivision.getTickFormatter ( )

Get a DateTimeFormatter corresponding to the block size for the tick marks on the date axis of a graph.

a DateTimeFormatter

Definition at line 119 of file

References org.sleuthkit.autopsy.timeline.zooming.TimeUnits.getTickFormatter().

Referenced by

long org.sleuthkit.autopsy.timeline.utils.RangeDivision.getUpperBound ( )

Member Data Documentation

final long org.sleuthkit.autopsy.timeline.utils.RangeDivision.lowerBound

An adjusted lower bound for the range such that it lines up with a period boundary before or at the start of the timerange

Definition at line 52 of file

Referenced by org.sleuthkit.autopsy.timeline.utils.RangeDivision.getLowerBound(), and org.sleuthkit.autopsy.timeline.utils.RangeDivision.RangeDivision().

final TimeUnits org.sleuthkit.autopsy.timeline.utils.RangeDivision.periodSize

The size of the periods we should divide the interval into.

Definition at line 46 of file

Referenced by org.sleuthkit.autopsy.timeline.utils.RangeDivision.getPeriodSize(), and org.sleuthkit.autopsy.timeline.utils.RangeDivision.RangeDivision().

final Interval org.sleuthkit.autopsy.timeline.utils.RangeDivision.timeRange
final long org.sleuthkit.autopsy.timeline.utils.RangeDivision.upperBound

An adjusted upper bound for the range such that it lines up with a period boundary at or after the end of the timerange

Definition at line 58 of file

Referenced by org.sleuthkit.autopsy.timeline.utils.RangeDivision.getUpperBound(), and org.sleuthkit.autopsy.timeline.utils.RangeDivision.RangeDivision().

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

Copyright © 2012-2020 Basis Technology. Generated on: Tue Sep 22 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.