I am using SimpleDateFormat to parse a string to DateTime, as shown in the code below. 

```
val formatSrc = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
formatSrc.setLenient(false)
val temp = formatSrc.parse("2017-02-04T09:55:42.000Z")
print(temp)

```

The results should be 
`Sat Feb 04 09:55:42 UTC 2017`
, however I get inconsistent result, for example, it could be below `Tue Feb 04 00:00:04 UTC 2200`, or `Wed Feb 04 09:55:42 UTC 2201`, or some other things. 
BTW, I am using Scala with Spark to process some text data.
any idea why?