public final class SMBDate
extends java.util.Date
Date/time encoding returned by older SMB/CIFS requests.
Constructor and Description |
---|
SMBDate(int secs)
Construct the SMBDate using a seconds since 1-Jan-1970 00:00:00 value.
|
SMBDate(int dat,
int tim)
Construct the SMBDate using the SMB encoded date/time values.
|
SMBDate(long dattim)
Create a new SMBDate using the long time value.
|
Modifier and Type | Method and Description |
---|---|
int |
asSMBDate()
Return this date as an SMB encoded date.
|
int |
asSMBTime()
Return this time as an SMB encoded time.
|
after, before, clone, compareTo, equals, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toLocaleString, toString, UTC
public SMBDate(int secs)
secs
- Seconds since base date/time 1970 valuepublic SMBDate(int dat, int tim)
dat
- SMB encoded date valuetim
- SMB encoded time valuepublic SMBDate(long dattim)
dattim
- longCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.