public class SPSSUtils extends Object
| Constructor and Description |
|---|
SPSSUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
byte4ToInt(byte[] buffer)
Converts a 4-byte value into an integer
|
static double |
byte8ToDouble(byte[] buffer)
Converts a 8-byte value into a double
|
static String |
byte8ToString(byte[] buffer)
Converts a 8-byte value into a String
|
static String |
byte8ToString(byte[] buffer,
Charset charset)
Converts a 8-byte value into a String with a specific encoding
|
static GregorianCalendar |
numericToCalendar(double value)
Converts a numeric value representing a date/time in SPSS into a Java GregorianCalendar.
|
public static double byte8ToDouble(byte[] buffer)
buffer - public static String byte8ToString(byte[] buffer)
buffer - public static String byte8ToString(byte[] buffer, Charset charset)
buffer - charset - public static int byte4ToInt(byte[] buffer)
buffer - public static GregorianCalendar numericToCalendar(double value)
value - the numeric representation of the date/time to convertCopyright © 2016. All rights reserved.