day_from_fixed() public static method

A method computing the day of the month from a fixed day number.
public static day_from_fixed ( int date ) : int
date int An integer specifying the fixed day number. ///
return int
コード例 #1
0
        /// <summary>
        /// Overridden. Gets the day of the month from
        /// <paramref name="time"/>.
        /// </summary>
        /// <param name="time">The
        /// <see cref="T:System.DateTime"/> that specifies a
        /// date.
        /// </param>
        /// <returns>An integer giving the day of months, starting with 1.
        /// </returns>
        public override int GetDayOfMonth(DateTime time)
        {
            int rd = CCFixed.FromDateTime(time);

            return(CCJulianCalendar.day_from_fixed(rd));
        }