Package com.progress.open4gl.dynamicapi
Class Util
java.lang.Object
com.progress.open4gl.dynamicapi.Util
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
extractLong
(byte b0, byte b1, byte b2, byte b3) static int
extractShort
(byte b0, byte b1) static long
getDaysFromBaseDate
(GregorianCalendar origDate, GregorianCalendar baseDate) static byte
getHighByte
(short num) static byte
getLowByte
(short num) static String
getMessageText
(long msgID) static String
getMessageText
(long msgID, String p1) static String
getMessageText
(long msgID, String p1, String p2) static void
insertLong
(byte[] buf, int num) static long
millisToDays
(long date, long baseDate)
-
Method Details
-
extractShort
public static int extractShort(byte b0, byte b1) -
getLowByte
public static byte getLowByte(short num) -
getHighByte
public static byte getHighByte(short num) -
extractLong
public static int extractLong(byte b0, byte b1, byte b2, byte b3) -
insertLong
public static void insertLong(byte[] buf, int num) -
millisToDays
public static long millisToDays(long date, long baseDate) -
getDaysFromBaseDate
-
getMessageText
-
getMessageText
-
getMessageText
-