public class TdrTypeUtil extends Object
| Constructor and Description |
|---|
TdrTypeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
cstrlen(byte[] str) |
static int |
str2TdrDate(String strDate) |
static long |
str2TdrDateTime(String strDateTime) |
static int |
str2TdrIP(String strip) |
static int |
str2TdrTime(String strTime) |
static void |
tdrDate2Str(TdrVisualBuf buf,
int date) |
static void |
tdrDateTime2Str(TdrVisualBuf buf,
long datetime) |
static void |
tdrIP2Str(TdrVisualBuf buf,
int ip) |
static void |
tdrTime2Str(TdrVisualBuf buf,
int time) |
static byte[] |
toIPByteArray(int addr) |
static int |
wstrlen(short[] str) |
public static int cstrlen(byte[] str)
public static int wstrlen(short[] str)
public static int str2TdrIP(String strip) throws TdrException
TdrExceptionpublic static byte[] toIPByteArray(int addr)
public static void tdrIP2Str(TdrVisualBuf buf, int ip) throws TdrException
TdrExceptionpublic static int str2TdrTime(String strTime) throws TdrException
TdrExceptionpublic static void tdrTime2Str(TdrVisualBuf buf, int time) throws TdrException
TdrExceptionpublic static int str2TdrDate(String strDate) throws TdrException
TdrExceptionpublic static void tdrDate2Str(TdrVisualBuf buf, int date) throws TdrException
TdrExceptionpublic static long str2TdrDateTime(String strDateTime) throws TdrException
TdrExceptionpublic static void tdrDateTime2Str(TdrVisualBuf buf, long datetime) throws TdrException
TdrExceptionCopyright © 2026. All rights reserved.