提交 f9a1f17c authored 作者: noelgrandin@gmail.com's avatar noelgrandin@gmail.com

and I was wrong, it is legal to have time values outside the 0-24hour range

上级 34962fca
......@@ -33,9 +33,6 @@ public class ValueTime extends Value {
private final long nanos;
private ValueTime(long nanos) {
if (nanos < 0 || nanos >= 24L * 60 * 60 * 1000 * 1000 * 1000) {
throw new IllegalArgumentException("timeNanos out of range " + nanos);
}
this.nanos = nanos;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论