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 ZDateApplicationInfo. getDeployTime()Gets the value of the deployTime property.Methods in org.spiderwiz.admin.data with parameters of type ZDate Modifier and Type Method Description voidApplicationInfo. 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 ZDateDataObject. getCommandTs()Returns the time that was stamped on the object by a peer application.ZDateResetter. getStartReset()Returns the time reset was restarted.Methods in org.spiderwiz.core with parameters of type ZDate Modifier and Type Method Description static booleanDataObject. 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 voidImportHandler. processLine(String line, ZDate ts)Processes an imported serialized data line.protected voidImportHandler. processObject(Object importObject, ZDate ts, int size)Processes an imported object.static intDataObject. restore(String objectCode, Object associated, ZDate from, ZDate until, String... ids)Restores data objects from an archive.voidMain. 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 ZDateZDate. DAY_OF_MESSIAHThe latest possible date (Long.MAX_VALUE).Methods in org.spiderwiz.zutils that return ZDate Modifier and Type Method Description ZDateZDate. 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.ZDateZDate. add(long ms)Returns a time object with a value equal to the time in this object plus the given amount of milliseconds.ZDateZDate. earliest(ZDate when)Returns the earliest between this object and the given object.ZDateZDate. fromGMT()Returns a time object that represents the time of this object after shifting it from GMT time zone.static ZDateZDate. fromSQLdate(Date date)Converts anSQL Dateobject to aZDateobject.static ZDateZDate. fromSQLtime(Timestamp ts)Converts anSQL Timestampobject to aZDateobject.static ZDateZDate. fromXMLGregorianCalendar(XMLGregorianCalendar xDate)Converts anXMLGregorianCalendarobject to aZDateobject.ZDateZDate. getMidnight()Returns a time object representing the latest midnight that precedes or equals this object.ZDateZDate. latest(ZDate when)Returns the latest between this object and the given object.static ZDateZDate. now()Returns a new time object set to the current time.static ZDateZDate. parseFullTimestamp(String string)Parses the beginning of the given string assuming it contains a timestamp value in the format"ddMMyyHHmmssSSS".static ZDateZDate. parseGMTtime(String string, String format)Parses the beginning of the given string assuming it contains a formatted GMT time string.static ZDateZDate. 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 ofSs is the given precision.static ZDateZDate. parseTime(String string, String format, ZDate ts)Parses a formatted time string using the given date object to resolve full time data.ZDateZDate. round(long roundBy)Returns a time object equal to the time represented by this object rounded to the given amount of milliseconds.ZDateZDate. setTime(int hour, int minutes)Returns a time object with the date of this object and the given hour and minute.static ZDateZDate. today()Returns a new time object representing the midnight that started the current dayZDateZDate. toGMT()Returns a time object that represents the time of this object after shifting it to GMT time zone.ZDateZDate. 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 booleanZDate. between(ZDate from, ZDate to)Returns true if this object is between the two given time objects, inclusive.ZDateZDate. earliest(ZDate when)Returns the earliest between this object and the given object.ZDateZDate. latest(ZDate when)Returns the latest between this object and the given object.static ZDateZDate. parseTime(String string, String format, ZDate ts)Parses a formatted time string using the given date object to resolve full time data.