We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ad7746 commit 11afa8aCopy full SHA for 11afa8a
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