public virtual VirkningType ToEgenskabTypeVirkning() { return(VirkningType.Create( Converters.GetMaxDate( this.ToBirthdate(), Converters.ToDateTime(this.AddressingNameDate, this.AddressingNameDateUncertainty) ), null )); }
public virtual TidspunktType ToTidspunktType() { return(TidspunktType.Create( Converters.GetMaxDate( Converters.ToDateTime(this.BirthRegistrationDate, this.BirthRegistrationDateUncertainty), Converters.ToDateTime(this.CprChurchTimestamp), Converters.ToDateTime(this.CprPersonTimestamp), Converters.ToDateTime(this.PNRMarkingDate, this.PNRMarkingDateUncertainty), Converters.ToDateTime(this.MunicipalityArrivalDate, MunicipalityArrivalDateUncertainty) ) )); }
public VirkningType ToCprBorgerTypeVirkning() { return(VirkningType.Create( Converters.GetMaxDate( Converters.ToDateTime(this.ChurchMarkerDate, this.ChurchMarkerDateUncertainty), Converters.ToDateTime(this.MunicipalityArrivalDate, this.MunicipalityArrivalDateUncertainty), Converters.ToDateTime(this.AddressEndTS, this.DepartureTimestampUncertainty), Converters.ToDateTime(this.AddtessStartTS, this.RelocationTimestampUncertainty), Converters.ToDateTime(this.DirectoryProtectionDate, this.DirectoryProtectionDateUncertainty), Converters.ToDateTime(this.DirectoryProtectionEndDate, this.DirectoryProtectionEndDateUncertainty), Converters.ToDateTime(this.AddressProtectionDate, this.AddressProtectionDateUncertainty), Converters.ToDateTime(this.AddressProtectionEndDate, this.AddressProtectionEndDateUncertainty), Converters.ToDateTime(this.NationalityChangeTimestamp, this.NationalityChangeTimestampUncertainty), Converters.ToDateTime(this.NationalityTerminationTimestamp, this.NationalityTerminationTimestampUncertainty), Converters.ToDateTime(this.PNRCreationDate, this.PNRCreationdateUncertainty) ), null )); }