public class NTTime extends Object
Convert an NT 64bit time value to a Java Date value and vice versa.
Modifier and Type | Field and Description |
---|---|
static long |
InfiniteTime |
Constructor and Description |
---|
NTTime() |
Modifier and Type | Method and Description |
---|---|
static long |
toJavaDate(long ntDate)
Convert an NT 64bit time value to a Java date value
|
static long |
toNTTime(Date jdate)
Convert a Java Date value to an NT 64bit time
|
static long |
toNTTime(long jdate)
Convert a Java Date value to an NT 64bit time
|
static SMBDate |
toSMBDate(long ntDate)
Convert an NT 64bit time value to a Java date value
|
public static final long InfiniteTime
public static final long toNTTime(Date jdate)
jdate
- Datepublic static final long toNTTime(long jdate)
jdate
- longpublic static final SMBDate toSMBDate(long ntDate)
ntDate
- longpublic static final long toJavaDate(long ntDate)
ntDate
- longCopyright © 2005–2018 Alfresco Software. All rights reserved.