Package com.ocient.jdbc
Class XGTime
java.lang.Object
java.util.Date
java.sql.Time
com.ocient.jdbc.XGTime
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Date>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMs(int ms) booleanstatic DateintgetDate()Deprecated.intgetDay()Deprecated.intgetMonth()Deprecated.intDeprecated.intgetYear()Deprecated.inthashCode()static longDeprecated.voidsetDate(int date) Deprecated.voidsetMonth(int month) Deprecated.voidsetYear(int year) Deprecated.longDeprecated.Helper method to correctly get the full-precision Instant.Deprecated.toString()static longUTC(int year, int month, int date, int hrs, int min, int sec) Deprecated.static TimeMethods inherited from class java.sql.Time
setTime, toLocalTime, valueOfMethods inherited from class java.util.Date
after, before, clone, compareTo, getHours, getMinutes, getSeconds, getTime, setHours, setMinutes, setSeconds
-
Constructor Details
-
XGTime
Deprecated. -
XGTime
public XGTime(long time) -
XGTime
-
-
Method Details
-
from
-
parse
Deprecated. -
UTC
Deprecated. -
valueOf
-
addMs
-
equals
-
hashCode
public int hashCode() -
getDate
Deprecated. -
getDay
Deprecated. -
getMonth
Deprecated. -
getTimezoneOffset
Deprecated.- Overrides:
getTimezoneOffsetin classDate
-
getYear
Deprecated. -
setDate
Deprecated. -
setMonth
Deprecated. -
setYear
Deprecated. -
toGMTString
Deprecated.- Overrides:
toGMTStringin classDate
-
toInstant
Helper method to correctly get the full-precision Instant. Based on the logic from toCppFormat(). -
toLocaleString
Deprecated.- Overrides:
toLocaleStringin classDate
-
toString
-
toCppFormat
public long toCppFormat()
-