GetDayOfMonth() public static method

Gets the of the month from time.
public static GetDayOfMonth ( System time ) : int
time System The /// that specifies a /// date. ///
return int
コード例 #1
0
 /// <summary>Returns the day of the month in the specified <see cref="T:System.DateTime" />.</summary>
 /// <returns>An integer from 1 to 31 that represents the day of the month in the specified <see cref="T:System.DateTime" />.</returns>
 /// <param name="time">The <see cref="T:System.DateTime" /> to read. </param>
 public override int GetDayOfMonth(DateTime time)
 {
     return(CCGregorianCalendar.GetDayOfMonth(time));
 }
コード例 #2
0
 /// <summary>Returns the day of the month in the specified <see cref="T:System.DateTime" />.</summary>
 /// <returns>An integer from 1 to 31 that represents the day of the month in the specified <see cref="T:System.DateTime" />.</returns>
 /// <param name="time">The <see cref="T:System.DateTime" /> to read. </param>
 public override int GetDayOfMonth(DateTime time)
 {
     this.M_CheckDateTime(time);
     return(CCGregorianCalendar.GetDayOfMonth(time));
 }