32
32
public final class TimeOfDay extends com .google .api .client .json .GenericJson {
33
33
34
34
/**
35
- * Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value
36
- * "24:00:00" for scenarios like business closing time.
35
+ * Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less
36
+ * than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like
37
+ * business closing time.
37
38
* The value may be {@code null}.
38
39
*/
39
40
@ com .google .api .client .util .Key
40
41
private java .lang .Integer hours ;
41
42
42
43
/**
43
- * Minutes of hour of day . Must be from 0 to 59.
44
+ * Minutes of an hour . Must be greater than or equal to 0 and less than or equal to 59.
44
45
* The value may be {@code null}.
45
46
*/
46
47
@ com .google .api .client .util .Key
47
48
private java .lang .Integer minutes ;
48
49
49
50
/**
50
- * Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
51
+ * Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal
52
+ * to 999,999,999.
51
53
* The value may be {@code null}.
52
54
*/
53
55
@ com .google .api .client .util .Key
54
56
private java .lang .Integer nanos ;
55
57
56
58
/**
57
- * Seconds of minutes of the time . Must normally be from 0 to 59. An API may allow the value 60 if
58
- * it allows leap-seconds.
59
+ * Seconds of a minute . Must be greater than or equal to 0 and typically must be less than or
60
+ * equal to 59. An API may allow the value 60 if it allows leap-seconds.
59
61
* The value may be {@code null}.
60
62
*/
61
63
@ com .google .api .client .util .Key
62
64
private java .lang .Integer seconds ;
63
65
64
66
/**
65
- * Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value
66
- * "24:00:00" for scenarios like business closing time.
67
+ * Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less
68
+ * than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like
69
+ * business closing time.
67
70
* @return value or {@code null} for none
68
71
*/
69
72
public java .lang .Integer getHours () {
70
73
return hours ;
71
74
}
72
75
73
76
/**
74
- * Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value
75
- * "24:00:00" for scenarios like business closing time.
77
+ * Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less
78
+ * than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like
79
+ * business closing time.
76
80
* @param hours hours or {@code null} for none
77
81
*/
78
82
public TimeOfDay setHours (java .lang .Integer hours ) {
@@ -81,15 +85,15 @@ public TimeOfDay setHours(java.lang.Integer hours) {
81
85
}
82
86
83
87
/**
84
- * Minutes of hour of day . Must be from 0 to 59.
88
+ * Minutes of an hour . Must be greater than or equal to 0 and less than or equal to 59.
85
89
* @return value or {@code null} for none
86
90
*/
87
91
public java .lang .Integer getMinutes () {
88
92
return minutes ;
89
93
}
90
94
91
95
/**
92
- * Minutes of hour of day . Must be from 0 to 59.
96
+ * Minutes of an hour . Must be greater than or equal to 0 and less than or equal to 59.
93
97
* @param minutes minutes or {@code null} for none
94
98
*/
95
99
public TimeOfDay setMinutes (java .lang .Integer minutes ) {
@@ -98,15 +102,17 @@ public TimeOfDay setMinutes(java.lang.Integer minutes) {
98
102
}
99
103
100
104
/**
101
- * Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
105
+ * Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal
106
+ * to 999,999,999.
102
107
* @return value or {@code null} for none
103
108
*/
104
109
public java .lang .Integer getNanos () {
105
110
return nanos ;
106
111
}
107
112
108
113
/**
109
- * Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
114
+ * Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal
115
+ * to 999,999,999.
110
116
* @param nanos nanos or {@code null} for none
111
117
*/
112
118
public TimeOfDay setNanos (java .lang .Integer nanos ) {
@@ -115,17 +121,17 @@ public TimeOfDay setNanos(java.lang.Integer nanos) {
115
121
}
116
122
117
123
/**
118
- * Seconds of minutes of the time . Must normally be from 0 to 59. An API may allow the value 60 if
119
- * it allows leap-seconds.
124
+ * Seconds of a minute . Must be greater than or equal to 0 and typically must be less than or
125
+ * equal to 59. An API may allow the value 60 if it allows leap-seconds.
120
126
* @return value or {@code null} for none
121
127
*/
122
128
public java .lang .Integer getSeconds () {
123
129
return seconds ;
124
130
}
125
131
126
132
/**
127
- * Seconds of minutes of the time . Must normally be from 0 to 59. An API may allow the value 60 if
128
- * it allows leap-seconds.
133
+ * Seconds of a minute . Must be greater than or equal to 0 and typically must be less than or
134
+ * equal to 59. An API may allow the value 60 if it allows leap-seconds.
129
135
* @param seconds seconds or {@code null} for none
130
136
*/
131
137
public TimeOfDay setSeconds (java .lang .Integer seconds ) {
0 commit comments