public class CcsdsTime extends Object
| Constructor and Description |
|---|
CcsdsTime(int numDays,
long picosecInDay) |
| Modifier and Type | Method and Description |
|---|---|
static CcsdsTime |
fromCcsds(byte[] ds)
P-field is implicit (not present, defaulted to 41 hex)
|
static CcsdsTime |
fromCcsdsPico(byte[] ds)
P-field is implicit (not present, defaulted to 42 hex)
|
static CcsdsTime |
fromJavaMillisec(long javaTime)
Converts a java time in milliseconds
|
static CcsdsTime |
fromSle(Time time)
Gets the time from the SLE time class
|
byte[] |
getDaySegmented()
P-field is implicit (not present, defaulted to 41 hex)
|
int |
getNumDays() |
long |
getPicosecInDay() |
static CcsdsTime |
now()
Gets the current time
|
long |
toJavaMillisec()
Converts to java milliseconds.
|
String |
toString() |
public static CcsdsTime fromCcsds(byte[] ds)
T-field:
ds - public static CcsdsTime fromCcsdsPico(byte[] ds)
T-field:
ds - public static CcsdsTime now()
public static CcsdsTime fromJavaMillisec(long javaTime)
javaTime - public static CcsdsTime fromSle(Time time)
time - public byte[] getDaySegmented()
T-field:
public long getPicosecInDay()
public int getNumDays()
public long toJavaMillisec()
Copyright © 2020 Space Applications Services. All rights reserved.