public class NTTime
extends java.lang.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(java.util.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(java.util.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 - 2010 Alfresco Software, Inc. All Rights Reserved.