Package com.progress.open4gl.dynamicapi
Class Util
java.lang.Object
com.progress.open4gl.dynamicapi.Util
-
Method Summary
Modifier and TypeMethodDescriptionstatic intextractLong(byte b0, byte b1, byte b2, byte b3) static intextractShort(byte b0, byte b1) static longgetDaysFromBaseDate(GregorianCalendar origDate, GregorianCalendar baseDate) static bytegetHighByte(short num) static bytegetLowByte(short num) static StringgetMessageText(long msgID) static StringgetMessageText(long msgID, String p1) static StringgetMessageText(long msgID, String p1, String p2) static voidinsertLong(byte[] buf, int num) static longmillisToDays(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
-