Liking cljdoc? Tell your friends :D

jdk.sql.Time

A thin wrapper around the java.util.Date class that allows the JDBC API to identify this as an SQL TIME value. The Time class adds formatting and parsing operations to support the JDBC escape syntax for time values. The date components should be set to the zero epoch value of January 1, 1970 and should not be accessed.

A thin wrapper around the java.util.Date class that allows the JDBC
API to identify this as an SQL TIME value. The Time
class adds formatting and
parsing operations to support the JDBC escape syntax for time
values.
The date components should be set to the `zero epoch`
value of January 1, 1970 and should not be accessed.
raw docstring

*value-ofclj

(*value-of s)

Converts a string in JDBC time escape format to a Time value.

s - time in format hh:mm:ss - java.lang.String

returns: a corresponding Time object - java.sql.Time

Converts a string in JDBC time escape format to a Time value.

s - time in format `hh:mm:ss` - `java.lang.String`

returns: a corresponding Time object - `java.sql.Time`
raw docstring

->timeclj

(->time time)
(->time hour minute second)

Constructor.

Constructs a Time object using a milliseconds time value.

time - milliseconds since January 1, 1970, 00:00:00 GMT; a negative number is milliseconds before January 1, 1970, 00:00:00 GMT - long

Constructor.

Constructs a Time object using a milliseconds time value.

time - milliseconds since January 1, 1970, 00:00:00 GMT; a negative number is milliseconds before January 1, 1970, 00:00:00 GMT - `long`
raw docstring

get-dateclj

(get-date this)

Deprecated.

returns: the day of the month represented by this date. - java.lang. int

throws: java.lang.IllegalArgumentException - if this method is invoked

Deprecated.

returns: the day of the month represented by this date. - `java.lang.  int`

throws: java.lang.IllegalArgumentException - if this method is invoked
raw docstring

get-dayclj

(get-day this)

Deprecated.

returns: the day of the week represented by this date. - java.lang. int

throws: java.lang.IllegalArgumentException - if this method is invoked

Deprecated.

returns: the day of the week represented by this date. - `java.lang.  int`

throws: java.lang.IllegalArgumentException - if this method is invoked
raw docstring

get-monthclj

(get-month this)

Deprecated.

returns: the month represented by this date. - java.lang. int

throws: java.lang.IllegalArgumentException - if this method is invoked

Deprecated.

returns: the month represented by this date. - `java.lang.  int`

throws: java.lang.IllegalArgumentException - if this method is invoked
raw docstring

get-yearclj

(get-year this)

Deprecated.

returns: the year represented by this date, minus 1900. - java.lang. int

throws: java.lang.IllegalArgumentException - if this method is invoked

Deprecated.

returns: the year represented by this date, minus 1900. - `java.lang.  int`

throws: java.lang.IllegalArgumentException - if this method is invoked
raw docstring

set-dateclj

(set-date this i)

Deprecated.

i - the day of the month value between 1-31. - int

returns: java.lang. void

throws: java.lang.IllegalArgumentException - if this method is invoked

Deprecated.

i - the day of the month value between 1-31. - `int`

returns: `java.lang.  void`

throws: java.lang.IllegalArgumentException - if this method is invoked
raw docstring

set-monthclj

(set-month this i)

Deprecated.

i - the month value between 0-11. - int

returns: java.lang. void

throws: java.lang.IllegalArgumentException - if this method is invoked

Deprecated.

i - the month value between 0-11. - `int`

returns: `java.lang.  void`

throws: java.lang.IllegalArgumentException - if this method is invoked
raw docstring

set-timeclj

(set-time this time)

Sets a Time object using a milliseconds time value.

time - milliseconds since January 1, 1970, 00:00:00 GMT; a negative number is milliseconds before January 1, 1970, 00:00:00 GMT - long

Sets a Time object using a milliseconds time value.

time - milliseconds since January 1, 1970, 00:00:00 GMT; a negative number is milliseconds before January 1, 1970, 00:00:00 GMT - `long`
raw docstring

set-yearclj

(set-year this i)

Deprecated.

i - the year value. - int

returns: java.lang. void

throws: java.lang.IllegalArgumentException - if this method is invoked

Deprecated.

i - the year value. - `int`

returns: `java.lang.  void`

throws: java.lang.IllegalArgumentException - if this method is invoked
raw docstring

to-instantclj

(to-instant this)

This method always throws an UnsupportedOperationException and should not be used because SQL Time values do not have a date component.

returns: an instant representing the same point on the time-line as this Date object - java.time.Instant

throws: java.lang.UnsupportedOperationException - if this method is invoked

This method always throws an UnsupportedOperationException and should
 not be used because SQL Time values do not have a date
 component.

returns: an instant representing the same point on the time-line as
  this Date object - `java.time.Instant`

throws: java.lang.UnsupportedOperationException - if this method is invoked
raw docstring

to-local-timeclj

(to-local-time this)

Converts this Time object to a LocalTime.

The conversion creates a LocalTime that represents the same hour, minute, and second time value as this Time.

returns: a LocalTime object representing the same time value - java.time.LocalTime

Converts this Time object to a LocalTime.

 The conversion creates a LocalTime that represents the same
 hour, minute, and second time value as this Time.

returns: a LocalTime object representing the same time value - `java.time.LocalTime`
raw docstring

to-stringclj

(to-string this)

Formats a time in JDBC time escape format.

returns: a String in hh:mm:ss format - java.lang.String

Formats a time in JDBC time escape format.

returns: a String in hh:mm:ss format - `java.lang.String`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close