We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4bc8bfa + 11afa8a commit 815af1fCopy full SHA for 815af1f
core/java/android/text/format/Time.java
@@ -481,6 +481,9 @@ public boolean parse(String s) {
481
* @throws android.util.TimeFormatException if s cannot be parsed.
482
*/
483
public boolean parse3339(String s) {
484
+ if (s == null) {
485
+ throw new NullPointerException("time string is null");
486
+ }
487
if (nativeParse3339(s)) {
488
timezone = TIMEZONE_UTC;
489
return true;
0 commit comments