This commit is contained in:
James 2017-03-16 22:00:04 -04:00
parent fc7ac7ab00
commit 5282110f02
2 changed files with 3 additions and 0 deletions

View File

@ -262,11 +262,13 @@ public class BaseDateTimeDtDstu2Test {
verifyFails("1974-A2-25");
verifyFails("1974-12-A5");
// Date shouldn't have a time zone
verifyFails("1974-12-25Z");
verifyFails("1974-12-25+10:00");
// Out of range
verifyFails("2015-02-30");
verifyFails("1974-13-25");
verifyFails("1974-12-32");
verifyFails("2015-02-29");

View File

@ -145,6 +145,7 @@ public class BaseDateTimeTypeDstu3Test {
verifyFails("1974-12-25+10:00");
// Out of range
verifyFails("2015-02-30");
verifyFails("1974-13-25");
verifyFails("1974-12-32");
verifyFails("2015-02-29");