public final class SystemTimeUtils
extends java.lang.Object
Constructor and Description |
---|
SystemTimeUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.Date |
getDate(byte[] data)
Get the date found in the byte array, as a java Data object
(获取在字节数组中找到的日期,作为 java Data 对象)
|
static java.util.Date |
getDate(byte[] data, int offset)
Get the date found in the byte array, as a java Data object
(获取在字节数组中找到的日期,作为 java Data 对象)
|
static void |
storeDate(java.util.Date date, byte[] dest)
Convert the supplied java Date into a SystemTime struct, and write it into the supplied byte array.
(将提供的 java Date 转换为 SystemTime 结构,并将其写入提供的字节数组。)
|
static void |
storeDate(java.util.Date date, byte[] dest, int offset)
Convert the supplied java Date into a SystemTime struct, and write it into the supplied byte array.
(将提供的 java Date 转换为 SystemTime 结构,并将其写入提供的字节数组。)
|
public static java.util.Date getDate(byte[] data)
public static java.util.Date getDate(byte[] data, int offset)
public static void storeDate(java.util.Date date, byte[] dest)
public static void storeDate(java.util.Date date, byte[] dest, int offset)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.