Fixed the feature for inserting temporal types from an external dataset.
- updated nontagged/AdmLexer.jj for the latest temporal type formats.
- added test cases for inserting temporal types from external datasets.
- fixed a bug on incorrect parsing at most 3 digits the millisecond fields: string index out of bound if the temporal string is too short to reach the millisecond fields.
git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_temporal_functionality@705 eaa15691-b419-025a-1212-ee371bd00084
diff --git a/asterix-app/data/temporal/temporalData.json b/asterix-app/data/temporal/temporalData.json
new file mode 100644
index 0000000..ae100f7
--- /dev/null
+++ b/asterix-app/data/temporal/temporalData.json
@@ -0,0 +1,2 @@
+{"id": "001", "dateField": -2012-12-12, "dateFieldPlus": 0990-01-01, "timeField": 23:49:12.39Z, "timeFieldPlus": 03:23:12.2, "datetimeField": 2012-12-12T00:00:00.001, "datetimeFieldPlus": -00130810T221015398, "durationField": P20Y19DT3H74M23.34S, "durationFieldPlus": -P2MT4M300.68S}
+{"id": "002", "datetimeField": 19201220T232918478 }
\ No newline at end of file