public final class Converters extends Object
| Modifier and Type | Field and Description |
|---|---|
private static int |
NANO_SECONDS_IN_1_MS |
| Constructor and Description |
|---|
Converters() |
| Modifier and Type | Method and Description |
|---|---|
static Object[] |
arrayToObjectArray(Object array)
Converts the supplied array into an object array.
|
static c.Timespan |
durationToTimespan(Duration xmlDuration) |
static Date |
longToSqlDate(long dateTime)
Convert a long date (milliseconds after 1970) to a
Date object. |
private static final int NANO_SECONDS_IN_1_MS
public static c.Timespan durationToTimespan(Duration xmlDuration)
c.Timespan equivalent to XML durationpublic static Date longToSqlDate(long dateTime)
Date object. This represents a date-only object in kdbpublic static Object[] arrayToObjectArray(Object array)
Object[].array - The array to convertCopyright © 2017. All rights reserved.