Sleuth Kit Java Bindings (JNI)
4.12.1
Java bindings for using The Sleuth Kit
|
Static Public Member Functions | |
static String | epochToTime (long epoch) |
static String | epochToTime (long epoch, TimeZone tzone) |
static String | epochToTimeISO8601 (long epoch, TimeZone tzone) |
static long | timeToEpoch (String time) |
Time related utility methods
Definition at line 32 of file TimeUtilities.java.
|
static |
Return the epoch into string in yyyy-MM-dd HH:mm:ss format
epoch | time in seconds |
Definition at line 46 of file TimeUtilities.java.
Referenced by org.sleuthkit.datamodel.AbstractFile.epochToTime(), org.sleuthkit.datamodel.AbstractAttribute.getDisplayString(), and org.sleuthkit.datamodel.BlackboardAttribute.getDisplayString().
|
static |
Return the epoch into string in yyyy-MM-dd HH:mm:ss format, in the given timezone
epoch | time in seconds |
tzone | time zone |
Definition at line 63 of file TimeUtilities.java.
|
static |
Return the epoch into string in ISO8601 format, in the given timezone.
epoch | time in seconds |
tzone | time zone |
Definition at line 82 of file TimeUtilities.java.
|
static |
Convert from ISO 8601 formatted date time string to epoch time in seconds
time | formatted date time string as "yyyy-MM-dd HH:mm:ss" |
Definition at line 95 of file TimeUtilities.java.
Referenced by org.sleuthkit.datamodel.AbstractFile.timeToEpoch().
Copyright © 2011-2021 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.