Updated reference output for date handling.
[gedcom-parse.git] / t / output / dates_gom.ref
index b20acfe9e036c8805cc9d4cba8fa0ce05f341497..1e3c0e5fab53a68ec4cefe12340fd833aebb994f 100644 (file)
@@ -5,6 +5,7 @@ Error on line 37: parse error
 Warning: Cross-reference @PERS07@ defined on line 38 is never used
 Warning: Cross-reference @PERS02@ defined on line 18 is never used
 Warning: Cross-reference @PERS00@ defined on line 10 is never used
+Warning: Cross-reference @PERS10@ defined on line 50 is never used
 Warning: Cross-reference @PERS01@ defined on line 14 is never used
 Warning: Cross-reference @PERS04@ defined on line 26 is never used
 Warning: Cross-reference @PERS09@ defined on line 46 is never used
@@ -74,17 +75,19 @@ Individual events:
       type: 0
       date1:
         calendar type: 0
-        day: '23'
-        month: 'JUL'
-        year: '1992'
+        day: '23', 23
+        month: 'JUL', 7
+        year: '1992', 1992
+        year type: 0
         date type: 1
         sdn1: 2448827
         sdn2: -1
       date2:
         calendar type: 4
-        day: ''
-        month: ''
-        year: ''
+        day: '', -1
+        month: '', -1
+        year: '', -1
+        year type: 0
         date type: 0
         sdn1: -1
         sdn2: -1
@@ -146,17 +149,19 @@ Individual events:
       type: 0
       date1:
         calendar type: 0
-        day: ''
-        month: 'JUL'
-        year: '1992'
+        day: '', -1
+        month: 'JUL', 7
+        year: '1992', 1992
+        year type: 0
         date type: 2
         sdn1: 2448805
         sdn2: 2448835
       date2:
         calendar type: 4
-        day: ''
-        month: ''
-        year: ''
+        day: '', -1
+        month: '', -1
+        year: '', -1
+        year type: 0
         date type: 0
         sdn1: -1
         sdn2: -1
@@ -218,17 +223,19 @@ Individual events:
       type: 0
       date1:
         calendar type: 0
-        day: ''
-        month: ''
-        year: '1992'
+        day: '', -1
+        month: '', -1
+        year: '1992', 1992
+        year type: 0
         date type: 2
         sdn1: 2448623
         sdn2: 2448988
       date2:
         calendar type: 4
-        day: ''
-        month: ''
-        year: ''
+        day: '', -1
+        month: '', -1
+        year: '', -1
+        year type: 0
         date type: 0
         sdn1: -1
         sdn2: -1
@@ -290,17 +297,19 @@ Individual events:
       type: 0
       date1:
         calendar type: 0
-        day: '23'
-        month: 'Jul'
-        year: '1992'
+        day: '23', 23
+        month: 'Jul', 7
+        year: '1992', 1992
+        year type: 0
         date type: 1
         sdn1: 2448827
         sdn2: -1
       date2:
         calendar type: 4
-        day: ''
-        month: ''
-        year: ''
+        day: '', -1
+        month: '', -1
+        year: '', -1
+        year type: 0
         date type: 0
         sdn1: -1
         sdn2: -1
@@ -362,17 +371,19 @@ Individual events:
       type: 0
       date1:
         calendar type: 0
-        day: '23'
-        month: 'JuL'
-        year: '1992'
+        day: '23', 23
+        month: 'JuL', 7
+        year: '1992', 1992
+        year type: 0
         date type: 1
         sdn1: 2448827
         sdn2: -1
       date2:
         calendar type: 4
-        day: ''
-        month: ''
-        year: ''
+        day: '', -1
+        month: '', -1
+        year: '', -1
+        year type: 0
         date type: 0
         sdn1: -1
         sdn2: -1
@@ -434,17 +445,19 @@ Individual events:
       type: 0
       date1:
         calendar type: 0
-        day: '04'
-        month: 'JUL'
-        year: '1992'
+        day: '04', 4
+        month: 'JUL', 7
+        year: '1992', 1992
+        year type: 0
         date type: 1
         sdn1: 2448808
         sdn2: -1
       date2:
         calendar type: 4
-        day: ''
-        month: ''
-        year: ''
+        day: '', -1
+        month: '', -1
+        year: '', -1
+        year type: 0
         date type: 0
         sdn1: -1
         sdn2: -1
@@ -506,17 +519,19 @@ Individual events:
       type: 11
       date1:
         calendar type: 4
-        day: ''
-        month: ''
-        year: ''
+        day: '', -1
+        month: '', -1
+        year: '', -1
+        year type: 0
         date type: 0
         sdn1: -1
         sdn2: -1
       date2:
         calendar type: 4
-        day: ''
-        month: ''
-        year: ''
+        day: '', -1
+        month: '', -1
+        year: '', -1
+        year type: 0
         date type: 0
         sdn1: -1
         sdn2: -1
@@ -578,17 +593,19 @@ Individual events:
       type: 0
       date1:
         calendar type: 3
-        day: '03'
-        month: 'BRUM'
-        year: '4'
+        day: '03', 3
+        month: 'BRUM', 2
+        year: '4', 4
+        year type: 0
         date type: 1
         sdn1: 2376968
         sdn2: -1
       date2:
         calendar type: 4
-        day: ''
-        month: ''
-        year: ''
+        day: '', -1
+        month: '', -1
+        year: '', -1
+        year type: 0
         date type: 0
         sdn1: -1
         sdn2: -1
@@ -650,17 +667,19 @@ Individual events:
       type: 0
       date1:
         calendar type: 2
-        day: '1'
-        month: 'SHV'
-        year: '4'
+        day: '1', 1
+        month: 'SHV', 5
+        year: '4', 4
+        year type: 0
         date type: 1
         sdn1: 349209
         sdn2: -1
       date2:
         calendar type: 4
-        day: ''
-        month: ''
-        year: ''
+        day: '', -1
+        month: '', -1
+        year: '', -1
+        year type: 0
         date type: 0
         sdn1: -1
         sdn2: -1
@@ -722,17 +741,93 @@ Individual events:
       type: 0
       date1:
         calendar type: 1
-        day: '12'
-        month: 'APR'
-        year: '1302'
+        day: '12', 12
+        month: 'APR', 4
+        year: '1302', 1302
+        year type: 0
         date type: 1
         sdn1: 2196715
         sdn2: -1
       date2:
         calendar type: 4
-        day: ''
-        month: ''
-        year: ''
+        day: '', -1
+        month: '', -1
+        year: '', -1
+        year type: 0
+        date type: 0
+        sdn1: -1
+        sdn2: -1
+      phrase: ''
+    Place: 0x<null>
+    Address: 0x<null>
+    Phone 1: '(null)'
+    Phone 2: '(null)'
+    Phone 3: '(null)'
+    Age: 0x<null>
+    Agency: '(null)'
+    Cause: '(null)'
+    citations: 0x<null>
+    multimedia links: 0x<null>
+    notes: 0x<null>
+    Age of husband: 0x<null>
+    Age of wife: 0x<null>
+    Family: 0x<null>
+    Adoption parent: '(null)'
+    User data: 0x<null>
+Individual attributes: 0x<null>
+LDS individual ordinance: 0x<null>
+Child to family links: 0x<null>
+Spouse to family links: 0x<null>
+Submitters: 0x<null>
+Associations: 0x<null>
+Aliases: 0x<null>
+Ancestor interest: 0x<null>
+Descendant interest: 0x<null>
+citations: 0x<null>
+multimedia links: 0x<null>
+notes: 0x<null>
+Record file nr: '(null)'
+Ancestral file nr: '(null)'
+user refs: 0x<null>
+Record ID: '(null)'
+change date: 0x<null>
+User data: 0x<null>
+=== INDIVIDUAL (@PERS10@) ===
+Restriction notice: '(null)'
+names: 
+  Name: 
+    Name: '/Annunciation style/'
+    Prefix: '(null)'
+    Given: '(null)'
+    Nickname: '(null)'
+    Surname prefix: '(null)'
+    Surname: '(null)'
+    Suffix: '(null)'
+    citations: 0x<null>
+    notes: 0x<null>
+    User data: 0x<null>
+Sex: '(null)'
+Individual events: 
+  Event: 283 (BIRT)
+    Value: '(null)'
+    Type: '(null)'
+    Date: 
+      type: 0
+      date1:
+        calendar type: 0
+        day: '20', 20
+        month: 'MAR', 3
+        year: '1677/78', 1678
+        year type: 1
+        date type: 1
+        sdn1: 2334016
+        sdn2: -1
+      date2:
+        calendar type: 4
+        day: '', -1
+        month: '', -1
+        year: '', -1
+        year type: 0
         date type: 0
         sdn1: -1
         sdn2: -1