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