Uses of Class
org.spiderwiz.zutils.ZDate
Package | Description |
---|---|
org.spiderwiz.admin.data |
Classes used by SpiderAdmin.
|
org.spiderwiz.core |
Core classes of the Spiderwiz framework.
|
org.spiderwiz.zutils |
Various utility classes used by the Spiderwiz framework.
|
-
Uses of ZDate in org.spiderwiz.admin.data
Methods in org.spiderwiz.admin.data that return ZDate Modifier and Type Method Description ZDate
ApplicationInfo. getDeployTime()
Gets the value of the deployTime property.Methods in org.spiderwiz.admin.data with parameters of type ZDate Modifier and Type Method Description void
ApplicationInfo. setDeployTime(ZDate value)
Sets the value of the deployTime property.Constructors in org.spiderwiz.admin.data with parameters of type ZDate Constructor Description ApplicationInfo(String applicationName, String version, String coreVersion, String serverLocation, ZDate deployTime, String status, int progressedUploadTime, int expectedUploadTime, String applicationRootFileName, String applicationUUID)
Class constructor that sets class properties. -
Uses of ZDate in org.spiderwiz.core
Methods in org.spiderwiz.core that return ZDate Modifier and Type Method Description ZDate
DataObject. getCommandTs()
Returns the time that was stamped on the object by a peer application.ZDate
Resetter. getStartReset()
Returns the time reset was restarted.Methods in org.spiderwiz.core with parameters of type ZDate Modifier and Type Method Description static boolean
DataObject. deleteFromArchive(String objectCode, ZDate from, ZDate until, String... ids)
Deletes archive files.protected String[]
DataObject. importObject(Object data, ImportHandler channel, ZDate ts)
Imports the object from foreign data.protected void
ImportHandler. processLine(String line, ZDate ts)
Processes an imported serialized data line.protected void
ImportHandler. processObject(Object importObject, ZDate ts, int size)
Processes an imported object.static int
DataObject. restore(String objectCode, Object associated, ZDate from, ZDate until, String... ids)
Restores data objects from an archive.void
Main. sendNotificationMail(String msg, String additionalInfo, ZDate eventTime, boolean alert)
Sends a notification mail. -
Uses of ZDate in org.spiderwiz.zutils
Fields in org.spiderwiz.zutils declared as ZDate Modifier and Type Field Description static ZDate
ZDate. DAY_OF_MESSIAH
The latest possible date (Long.MAX_VALUE).Methods in org.spiderwiz.zutils that return ZDate Modifier and Type Method Description ZDate
ZDate. add(int field, int amount)
Returns a time object with a value equal to the time in this object plus the given amount of the given time units.ZDate
ZDate. add(long ms)
Returns a time object with a value equal to the time in this object plus the given amount of milliseconds.ZDate
ZDate. earliest(ZDate when)
Returns the earliest between this object and the given object.ZDate
ZDate. fromGMT()
Returns a time object that represents the time of this object after shifting it from GMT time zone.static ZDate
ZDate. fromSQLdate(Date date)
Converts anSQL Date
object to aZDate
object.static ZDate
ZDate. fromSQLtime(Timestamp ts)
Converts anSQL Timestamp
object to aZDate
object.static ZDate
ZDate. fromXMLGregorianCalendar(XMLGregorianCalendar xDate)
Converts anXMLGregorianCalendar
object to aZDate
object.ZDate
ZDate. getMidnight()
Returns a time object representing the latest midnight that precedes or equals this object.ZDate
ZDate. latest(ZDate when)
Returns the latest between this object and the given object.static ZDate
ZDate. now()
Returns a new time object set to the current time.static ZDate
ZDate. parseFullTimestamp(String string)
Parses the beginning of the given string assuming it contains a timestamp value in the format"ddMMyyHHmmssSSS"
.static ZDate
ZDate. parseGMTtime(String string, String format)
Parses the beginning of the given string assuming it contains a formatted GMT time string.static ZDate
ZDate. parseRoundTime(String string, int precision)
Parses the beginning of the given string assuming it contains a rounded timestamp string formatted as"ddMMyyHHmmssS
(s)"
when the number ofS
s is the given precision.static ZDate
ZDate. parseTime(String string, String format, ZDate ts)
Parses a formatted time string using the given date object to resolve full time data.ZDate
ZDate. round(long roundBy)
Returns a time object equal to the time represented by this object rounded to the given amount of milliseconds.ZDate
ZDate. setTime(int hour, int minutes)
Returns a time object with the date of this object and the given hour and minute.static ZDate
ZDate. today()
Returns a new time object representing the midnight that started the current dayZDate
ZDate. toGMT()
Returns a time object that represents the time of this object after shifting it to GMT time zone.ZDate
ZDate. truncate(long truncateBy)
Returns a time object equal to the time represented by this object truncated to a floor value that is a whole multiply of the given amount of milliseconds.Methods in org.spiderwiz.zutils with parameters of type ZDate Modifier and Type Method Description boolean
ZDate. between(ZDate from, ZDate to)
Returns true if this object is between the two given time objects, inclusive.ZDate
ZDate. earliest(ZDate when)
Returns the earliest between this object and the given object.ZDate
ZDate. latest(ZDate when)
Returns the latest between this object and the given object.static ZDate
ZDate. parseTime(String string, String format, ZDate ts)
Parses a formatted time string using the given date object to resolve full time data.