internal static Calendar GetDefaultInstance() {
if (m_defaultInstance == null) {
m_defaultInstance = new GregorianCalendar();
}
return (m_defaultInstance);
}
internal DateTime LunarToTime(DateTime time, int year, int month, int day) { int gy = 0; int gm = 0; int gd = 0; LunarToGregorian(year, month, day, ref gy, ref gm, ref gd); return(GregorianCalendar.GetDefaultInstance().ToDateTime(gy, gm, gd, time.Hour, time.Minute, time.Second, time.Millisecond)); }