A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/apps-script/reference/jdbc/jdbc-time below:

Class JdbcTime | Apps Script

Class JdbcTime

Stay organized with collections Save and categorize content based on your preferences.

JdbcTime

A JDBC Time. For documentation of this class, see java.sql.Time .

Methods Method Return type Brief description after(when) Boolean For documentation of this method, see java.sql.Date#after(Date). before(when) Boolean For documentation of this method, see java.sql.Date#before(Date). getHours() Integer For documentation of this method, see java.sql.Date#getHours(). getMinutes() Integer For documentation of this method, see java.sql.Date#getMinutes(). getSeconds() Integer For documentation of this method, see java.sql.Date#getSeconds(). getTime() Integer For documentation of this method, see java.sql.Date#getTime(). setHours(hours) void For documentation of this method, see java.sql.Date#setHours(int). setMinutes(minutes) void For documentation of this method, see java.sql.Date#setMinutes(int). setSeconds(seconds) void For documentation of this method, see java.sql.Date#setSeconds(int). setTime(milliseconds) void For documentation of this method, see java.sql.Time#setTime(long). Detailed documentation after(when)

For documentation of this method, see java.sql.Date#after(Date).

Parameters Name Type Description when JdbcTime A time to compare to. Return

Booleantrue if and only if this time is strictly later than the time specified as a parameter; false otherwise.

before(when)

For documentation of this method, see java.sql.Date#before(Date).

Parameters Name Type Description when JdbcTime A time to compare to. Return

Booleantrue if and only if this time is strictly earlier than the time specified as a parameter; false otherwise.

getHours()

For documentation of this method, see java.sql.Date#getHours().

Return

Integer — The hour represented by this object; the value is a number (0 through 23) representing the hour within the day that contains or begins with the instant in time represented by this object, as interpreted in the local time zone.

getMinutes()

For documentation of this method, see java.sql.Date#getMinutes().

Return

Integer — The minutes past the hour represented by this object, as interpreted in the local time zone. The value is a number between 0 through 59 inclusive.

getSeconds()

For documentation of this method, see java.sql.Date#getSeconds().

Return

Integer — The seconds past the minute represented by this object, as interpreted in the local time zone. The value is a number between 0 through 61 inclusive, whiere 60 and 61 are only possible for machines that take leap seconds into account.

getTime()

For documentation of this method, see java.sql.Date#getTime().

Return

Integer — The number of milliseconds since January 1, 1970, 00:00:00 GMT represented by this time object.

setHours(hours)

For documentation of this method, see java.sql.Date#setHours(int).

Parameters Name Type Description hours Integer The hour to set; this object is updated to represent a point in time within the specified hour of the day, with the year, month, date, minute, and second the same as before, as interpreted in the local time zone. setMinutes(minutes)

For documentation of this method, see java.sql.Date#setMinutes(int).

Parameters Name Type Description minutes Integer The minutes to set; this object is updated to represent a point in time within the specified minute of the hour, with the year, month, date, hour, and second the same as before, as interpreted in the local time zone. setSeconds(seconds)

For documentation of this method, see java.sql.Date#setSeconds(int).

Parameters Name Type Description seconds Integer The seconds to set; this object is updated to represent a point in time within the specified second of the minute, with the year, month, date, hour, and minute the same as before, as interpreted in the local time zone. setTime(milliseconds)

For documentation of this method, see java.sql.Time#setTime(long).

Parameters Name Type Description milliseconds Integer The time value to set. The value is milliseconds since January 1, 1970, 00:00:00 GMT, while a negative number is milliseconds before that time.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-12-02 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-02 UTC."],[[["`JdbcTime` provides a JDBC representation of time, mirroring the functionality of `java.sql.Time`."],["It offers methods to compare times (`after`, `before`), retrieve time components (`getHours`, `getMinutes`, `getSeconds`), and get the time in milliseconds (`getTime`)."],["You can modify the time using `setHours`, `setMinutes`, `setSeconds`, and `setTime`."],["Detailed documentation for each method is provided with links to the corresponding `java.sql.Time` or `java.util.Date` documentation."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4