Commit d8c83fc
authored
Clarify documentation of DateAndTime.birthday(..)
When using DateAndTime.birthday(..) it's not obvious that the generated
birthday depends on the current day. This leads to the wrong assumption
that calling the method with the same random seed creates the same
birthday with every call. However, the method produces different
results whether it's called in 2020 or 2021.
This commit adds clarification to the method's Javadoc.1 parent b60f23a commit d8c83fc
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
0 commit comments