public override string ParseString(string strValue) { try { if (fValue != null) { fValue.Dispose(); fValue = null; } return(string.IsNullOrEmpty(strValue) ? string.Empty : GEDCOMUtils.ParseDateValue(null, this, strValue)); } catch (Exception ex) { Logger.WriteError("GDMDateValue.ParseString(\"" + strValue + "\")", ex); return(strValue); } }
public override string ParseString(string strValue) { try { if (fValue != null) { fValue.Dispose(); fValue = null; } return(string.IsNullOrEmpty(strValue) ? string.Empty : GEDCOMUtils.ParseDateValue(GetTree(), this, strValue)); } catch (Exception ex) { Logger.LogWrite("GEDCOMDateValue.ParseString(\"" + strValue + "\"): " + ex.Message); return(strValue); } }