public class Time
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static long |
HUNDREDS_OF_NANOS_IN_A_MICROSECOND |
static long |
HUNDREDS_OF_NANOS_IN_A_MILLISECOND |
static long |
HUNDREDS_OF_NANOS_IN_A_MINUTE |
static long |
HUNDREDS_OF_NANOS_IN_A_SECOND |
static long |
HUNDREDS_OF_NANOS_IN_AN_HOUR |
static long |
NANOS_IN_A_MILLISECOND |
static long |
NANOS_IN_A_TIME_UNIT
Hundreds of nanos in a units
|
Constructor and Description |
---|
Time() |
Modifier and Type | Method and Description |
---|---|
static long |
getCurrentTime()
Gets the current time in producer time units
|
static long |
getTime(java.util.Date date)
Converts
Date to Kinesis Video time |
public static final long NANOS_IN_A_TIME_UNIT
public static final long HUNDREDS_OF_NANOS_IN_A_MICROSECOND
public static final long HUNDREDS_OF_NANOS_IN_A_MILLISECOND
public static final long HUNDREDS_OF_NANOS_IN_A_SECOND
public static final long HUNDREDS_OF_NANOS_IN_A_MINUTE
public static final long HUNDREDS_OF_NANOS_IN_AN_HOUR
public static final long NANOS_IN_A_MILLISECOND
public static final long getCurrentTime()
public static final long getTime(java.util.Date date)
Date
to Kinesis Video timedate
- - Java date objectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.