public class TimeImpl extends OctetStringBase implements Time
_PrimitiveName, data, maxLength, minLength| Constructor and Description |
|---|
TimeImpl() |
TimeImpl(byte[] data) |
TimeImpl(int year,
int month,
int day,
int hour,
int minute,
int second) |
| Modifier and Type | Method and Description |
|---|---|
long |
bytesToLong(byte[] bytes) |
byte[] |
getData() |
int |
getDay() |
int |
getHour() |
int |
getMinute() |
int |
getMonth() |
int |
getSecond() |
long |
getTime(long ntpTime) |
int |
getYear() |
byte[] |
longToBytes(long x) |
String |
toString() |
_decode, decodeAll, decodeData, encodeAll, encodeAll, encodeData, equals, getIsPrimitive, getTag, getTagClass, hashCode, printDataArrpublic TimeImpl()
public TimeImpl(byte[] data)
public TimeImpl(int year,
int month,
int day,
int hour,
int minute,
int second)
public long getTime(long ntpTime)
public byte[] longToBytes(long x)
public long bytesToLong(byte[] bytes)
public String toString()
toString in class OctetStringBaseCopyright © 2016. All Rights Reserved.