public static int month_from_fixed(int date) { int month, year; my_from_fixed(out month, out year, date); return month; }
/// <summary> /// Overridden. Gives the number of the month of the specified /// date. /// </summary> /// <param name="time">The /// <see cref="T:System.DateTime"/> that specifies a /// date. /// </param> /// <returns>An integer representing the month, /// starting with 1.</returns> public override int GetMonth(DateTime time) { int rd = CCFixed.FromDateTime(time); return(CCJulianCalendar.month_from_fixed(rd)); }