Autopsy  4.18.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.timeline.zooming.TimeUnits Enum Reference

Public Member Functions

String getDisplayName ()
 
DateTimeFormatter getTickFormatter ()
 
DateTime.Property propertyOf (DateTime dateTime)
 
ChronoUnit toChronoUnit ()
 
Period toUnitPeriod ()
 

Public Attributes

 DAYS =(DateTimeFieldType.dayOfMonth(), Days.ONE, ChronoUnit.DAYS, DateTimeFormat.forPattern("YYYY'-'MMMM'-'dd"))
 
 FOREVER =(null, null, ChronoUnit.FOREVER, null)
 
 HOURS =(DateTimeFieldType.hourOfDay(), Hours.ONE, ChronoUnit.HOURS, DateTimeFormat.forPattern("YYYY'-'MMMM'-'dd HH"))
 
 MINUTES =(DateTimeFieldType.minuteOfHour(), Minutes.ONE, ChronoUnit.MINUTES, DateTimeFormat.forPattern("YYYY'-'MMMM'-'dd HH':'mm"))
 
 MONTHS =(DateTimeFieldType.monthOfYear(), Months.ONE, ChronoUnit.MONTHS, DateTimeFormat.forPattern("YYYY'-'MMMM"))
 
 SECONDS =(DateTimeFieldType.secondOfMinute(), Seconds.ONE, ChronoUnit.SECONDS, DateTimeFormat.forPattern("YYYY'-'MMMM'-'dd HH':'mm':'ss"))
 
 YEARS =(DateTimeFieldType.year(), Years.ONE, ChronoUnit.YEARS, ISODateTimeFormat.year())
 

Private Member Functions

 TimeUnits (DateTimeFieldType fieldType, ReadablePeriod period, ChronoUnit chronoUnit, DateTimeFormatter tickFormatter)
 

Private Attributes

final ChronoUnit chronoUnit
 
final DateTimeFieldType fieldType
 
final Period period
 
final DateTimeFormatter tickFormatter
 

Detailed Description

Predefined units of time for use in choosing axis labels and sub intervals.

Definition at line 40 of file TimeUnits.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.zooming.TimeUnits.TimeUnits ( DateTimeFieldType  fieldType,
ReadablePeriod  period,
ChronoUnit  chronoUnit,
DateTimeFormatter  tickFormatter 
)
private

Definition at line 59 of file TimeUnits.java.

Member Function Documentation

String org.sleuthkit.autopsy.timeline.zooming.TimeUnits.getDisplayName ( )

Definition at line 82 of file TimeUnits.java.

DateTimeFormatter org.sleuthkit.autopsy.timeline.zooming.TimeUnits.getTickFormatter ( )
DateTime.Property org.sleuthkit.autopsy.timeline.zooming.TimeUnits.propertyOf ( DateTime  dateTime)
ChronoUnit org.sleuthkit.autopsy.timeline.zooming.TimeUnits.toChronoUnit ( )

Definition at line 78 of file TimeUnits.java.

Period org.sleuthkit.autopsy.timeline.zooming.TimeUnits.toUnitPeriod ( )

Member Data Documentation

final ChronoUnit org.sleuthkit.autopsy.timeline.zooming.TimeUnits.chronoUnit
private

Definition at line 52 of file TimeUnits.java.

org.sleuthkit.autopsy.timeline.zooming.TimeUnits.DAYS =(DateTimeFieldType.dayOfMonth(), Days.ONE, ChronoUnit.DAYS, DateTimeFormat.forPattern("YYYY'-'MMMM'-'dd"))
final DateTimeFieldType org.sleuthkit.autopsy.timeline.zooming.TimeUnits.fieldType
private

Definition at line 50 of file TimeUnits.java.

org.sleuthkit.autopsy.timeline.zooming.TimeUnits.FOREVER =(null, null, ChronoUnit.FOREVER, null)
org.sleuthkit.autopsy.timeline.zooming.TimeUnits.HOURS =(DateTimeFieldType.hourOfDay(), Hours.ONE, ChronoUnit.HOURS, DateTimeFormat.forPattern("YYYY'-'MMMM'-'dd HH"))
org.sleuthkit.autopsy.timeline.zooming.TimeUnits.MINUTES =(DateTimeFieldType.minuteOfHour(), Minutes.ONE, ChronoUnit.MINUTES, DateTimeFormat.forPattern("YYYY'-'MMMM'-'dd HH':'mm"))
org.sleuthkit.autopsy.timeline.zooming.TimeUnits.MONTHS =(DateTimeFieldType.monthOfYear(), Months.ONE, ChronoUnit.MONTHS, DateTimeFormat.forPattern("YYYY'-'MMMM"))
final Period org.sleuthkit.autopsy.timeline.zooming.TimeUnits.period
private

Definition at line 51 of file TimeUnits.java.

org.sleuthkit.autopsy.timeline.zooming.TimeUnits.SECONDS =(DateTimeFieldType.secondOfMinute(), Seconds.ONE, ChronoUnit.SECONDS, DateTimeFormat.forPattern("YYYY'-'MMMM'-'dd HH':'mm':'ss"))
final DateTimeFormatter org.sleuthkit.autopsy.timeline.zooming.TimeUnits.tickFormatter
private

Definition at line 53 of file TimeUnits.java.

org.sleuthkit.autopsy.timeline.zooming.TimeUnits.YEARS =(DateTimeFieldType.year(), Years.ONE, ChronoUnit.YEARS, ISODateTimeFormat.year())

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

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.