Make date parsing error behavior consistent with Java

Current behavior is much different from the documentation; i.e. throws exceptions when docs say it would return null, throws different exception than the documentation claims, ignores specified position.