类 TimeStamp
java.lang.Object
net.sf.marineapi.ais.util.TimeStamp
Checks a 6-bit integer time stamp value for validity.
- 作者:
- Lázár József
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static booleanisAvailable(int value) Checks if the time stamp value is available.static StringtoString(int value) Return a string representing the time stamp value.
-
构造器详细资料
-
TimeStamp
public TimeStamp()
-
-
方法详细资料
-
isAvailable
public static boolean isAvailable(int value) Checks if the time stamp value is available.- 参数:
value- Timetamp value to check- 返回:
- true if the time stamp falls within a range
-
toString
Return a string representing the time stamp value.- 参数:
value- Timetamp value to stringify- 返回:
- a string representing the time stamp
-