private string BuildResult(MBDateResult result, string propertyName)
            {
                if (result == null || result.Year == 0)
                {
                    return("");
                }

                DateTime date = new DateTime(Convert.ToInt32(result.Year),
                                             Convert.ToInt32(result.Month),
                                             Convert.ToInt32(result.Day));

                return(propertyName + ": " + date.ToShortDateString() + "\n");
            }
        public Date(NSDate nsDate)
        {
            NSDateComponents components = NSCalendar.CurrentCalendar.Components(NSCalendarUnit.Day | NSCalendarUnit.Month | NSCalendarUnit.Year, nsDate);

            nativeDate = new MBDateResult(components.Day, components.Month, components.Year, "");
        }
 public Date(MBDateResult nativeDate)
 {
     this.nativeDate = nativeDate;
 }