| | |
| | | break; |
| | | |
| | | case 'Z': |
| | | // This is fine only if we are at the end of the value. |
| | | case 'z': |
| | | // This is fine only if we are at the end of the value. |
| | | if (length == 11) { |
| | | final TimeZone tz = TIME_ZONE_UTC_OBJ; |
| | | return createTime(valueString, year, month, day, hour, minute, second, tz); |
| | |
| | | break; |
| | | |
| | | case 'Z': |
| | | case 'z': |
| | | // This is fine only if we are at the end of the value. |
| | | if (length == 13) { |
| | | final TimeZone tz = TIME_ZONE_UTC_OBJ; |
| | |
| | | 1000); |
| | | |
| | | case 'Z': |
| | | case 'z': |
| | | // This is fine only if we are at the end of the value. |
| | | if (length == 15) { |
| | | final TimeZone tz = TIME_ZONE_UTC_OBJ; |
| | |
| | | break; |
| | | |
| | | case 'Z': |
| | | case 'z': |
| | | // This is only acceptable if we're at the end of the value. |
| | | if (i != (value.length() - 1)) { |
| | | final LocalizableMessage message = |