Send feedback
Interface TimeOfDayOrBuilder (2.34.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.34.0 keyboard_arrow_down
public interface TimeOfDayOrBuilder extends MessageOrBuilder
Methods
getHours()
public abstract int getHours ()
Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
to allow the value "24:00:00" for scenarios like business closing time.
int32 hours = 1;
Returns Type Description int
The hours.
getMinutes()
public abstract int getMinutes ()
Minutes of hour of day. Must be from 0 to 59.
int32 minutes = 2;
Returns Type Description int
The minutes.
getNanos()
public abstract int getNanos ()
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
int32 nanos = 4;
Returns Type Description int
The nanos.
getSeconds()
public abstract int getSeconds ()
Seconds of minutes of the time. Must normally be from 0 to 59. An API may
allow the value 60 if it allows leap-seconds.
int32 seconds = 3;
Returns Type Description int
The seconds.
Send feedback
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-11-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-06 UTC."],[],[]]