Autopsy
4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Static Public Member Functions | |
static String | convertToAlphaNumericFormat (String timeZoneId) |
static List< String > | createTimeZoneList () |
static String | createTimeZoneString (TimeZone timeZone) |
static String | getFormattedTime (long epochTime) |
static String | getFormattedTimeISO8601 (long epochTime) |
static TimeZone | getTimeZone () |
Private Member Functions | |
TimeZoneUtils () | |
Utility methods for workig with time zones.
Definition at line 36 of file TimeZoneUtils.java.
|
private |
Prevents instantiation.
Definition at line 177 of file TimeZoneUtils.java.
|
static |
Converts a Java timezone id to a coded string with only alphanumeric characters. Example: "America/New_York" is converted to "EST5EDT" by this method.
timeZoneId | The time zone id. |
Definition at line 47 of file TimeZoneUtils.java.
Referenced by org.sleuthkit.autopsy.casemodule.Case.convertTimeZone().
|
static |
Generates a list of time zones.
Definition at line 89 of file TimeZoneUtils.java.
References org.sleuthkit.autopsy.coreutils.TimeZoneUtils.createTimeZoneString().
Referenced by org.sleuthkit.autopsy.casemodule.ImageFilePanel.createTimeZoneList(), and org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.ViewPreferencesPanel().
|
static |
Generate a time zone string containing the GMT offset and ID.
timeZone | The time zone. |
Definition at line 78 of file TimeZoneUtils.java.
Referenced by org.sleuthkit.autopsy.casemodule.ImageFilePanel.createTimeZoneList(), org.sleuthkit.autopsy.coreutils.TimeZoneUtils.createTimeZoneList(), org.sleuthkit.autopsy.timeline.actions.AddManualEvent.JEventCreationDialog.EventCreationDialogPane.initialize(), and org.sleuthkit.autopsy.corecomponents.ViewPreferencesPanel.load().
|
static |
Returns the time formatted in the user selected time zone.
epochTime |
Definition at line 145 of file TimeZoneUtils.java.
References org.sleuthkit.autopsy.coreutils.TimeZoneUtils.getTimeZone().
Referenced by org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.addEmailMsgProperty(), org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.ResultsTableArtifact.addRows(), org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultTableArtifactContentViewer.ResultsTableArtifact.appendJsonElementToString(), org.sleuthkit.autopsy.contentviewers.osaccount.OsAccountDataPanel.buildBasicProperties(), org.sleuthkit.autopsy.datamodel.KeywordHits.createBlackboardArtifactNode(), org.sleuthkit.autopsy.datamodel.OsAccounts.OsAccountNode.createSheet(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.createSheet(), org.sleuthkit.autopsy.contentviewers.Metadata.MetaDataWorker.doInBackground(), org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< SpecialDirectory >.fillPropertyMap(), org.sleuthkit.autopsy.datamodel.BlackboardArtifactNode.fillPropertyMap(), org.sleuthkit.autopsy.report.infrastructure.TableReportGenerator.AttributeColumn.getCellData(), org.sleuthkit.autopsy.discovery.search.DomainSearch.getDate(), org.sleuthkit.autopsy.discovery.ui.ArtifactsListPanel.DomainArtifactTableModel.getFallbackValue(), org.sleuthkit.autopsy.datamodel.AbstractAbstractFileNode< SpecialDirectory >.getProperties(), org.sleuthkit.autopsy.datamodel.ArtifactStringContent.getString(), org.sleuthkit.autopsy.discovery.ui.ArtifactsListPanel.DomainArtifactTableModel.getStringForColumn(), and org.sleuthkit.autopsy.contentviewers.artifactviewers.GeneralPurposeArtifactViewer.updateView().
|
static |
Returns the formatted time in the user selected time zone in ISO8601 format.
epochTime | Seconds from java epoch |
Definition at line 157 of file TimeZoneUtils.java.
References org.sleuthkit.autopsy.coreutils.TimeZoneUtils.getTimeZone().
Referenced by org.sleuthkit.autopsy.keywordsearch.Ingester.SolrFieldsVisitor.getCommonAndMACTimeFields().
|
static |
Returns the user preferred timezone.
Definition at line 166 of file TimeZoneUtils.java.
References org.sleuthkit.autopsy.core.UserPreferences.displayTimesInLocalTime(), and org.sleuthkit.autopsy.core.UserPreferences.getTimeZoneForDisplays().
Referenced by org.sleuthkit.autopsy.discovery.search.DiscoveryKeyUtils.getCurrentWeekCutOff(), org.sleuthkit.autopsy.coreutils.TimeZoneUtils.getFormattedTime(), and org.sleuthkit.autopsy.coreutils.TimeZoneUtils.getFormattedTimeISO8601().
Copyright © 2012-2022 Basis Technology. Generated on: Thu Jun 1 2023
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.