Interface TimeOfDayOrBuilder (2.37.1)

public interface TimeOfDayOrBuilder extends MessageOrBuilder

Implements

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
TypeDescription
int

The hours.

getMinutes()

public abstract int getMinutes()

Minutes of hour of day. Must be from 0 to 59.

int32 minutes = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The seconds.