Autopsy  4.19.3
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 RangeDivision.java.

Constructor & Destructor Documentation

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

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 
)
static
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.

Returns
a DateTimeFormatter

Definition at line 119 of file RangeDivision.java.

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

Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsUpdateTask.call().

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

Member Data Documentation

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

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 RangeDivision.java.

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
private

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

Definition at line 46 of file RangeDivision.java.

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
private
final long org.sleuthkit.autopsy.timeline.utils.RangeDivision.upperBound
private

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 RangeDivision.java.

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-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.