http://bugzilla.novell.com/show_bug.cgi?id=507067
User [email protected] added comment http://bugzilla.novell.com/show_bug.cgi?id=507067#c5 Trevor Davis <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |trevor.da...@mohawkcollege. | |ca Info Provider|trevor.da...@mohawkcollege. | |ca | --- Comment #5 from Trevor Davis <[email protected]> 2009-10-13 11:28:49 MDT --- Hello Marek, I apologize for not providing the information in a timely manner. I have attached a subset of the class which is causing the issue. Please let me know if you require any additional information. Thank you, Trevor Davis TS.cs: public class TS { private const string TS_FORMAT = "yyyyMMddHHmmss'.'ffffzzz"; private string m_V; public string vValue { get { return m_V; } set { m_V = value; } } public DateTime? v { get { return (DateTime?)this; } set { m_V = value.Value.ToString(TS_FORMAT, System.Globalization.CultureInfo.InvariantCulture).Replace(":", ""); } } public static implicit operator DateTime?(TS s) { DateTime result = DateTime.MinValue; if (DateTime.TryParseExact(s.m_V, TS_FORMAT, System.Globalization.CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.None, out result)) return result; return null; } public static implicit operator TS(DateTime? date) { TS r = new TS(); if (null == date) r.v = null; else r.m_V = date.Value.ToString(TS_FORMAT, System.Globalization.CultureInfo.InvariantCulture).Replace(":", ""); return r; } public static explicit operator string(TS s) { return s.m_V; } } -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
