System.Globalization.CCGregorianCalendar.GetMonth C# (CSharp) 메소드

GetMonth() 공개 정적인 메소드

The method gives the number of the month of the specified date.
public static GetMonth ( System time ) : int
time System The /// that specifies a /// date. ///
리턴 int
	public static int GetMonth(System.DateTime time) {
		return month_from_fixed(CCFixed.FromDateTime(time));
	}

Usage Example

예제 #1
0
 /// <summary>Returns the month in the specified <see cref="T:System.DateTime" />.</summary>
 /// <returns>An integer from 1 to 12 that represents 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 GetMonth(DateTime time)
 {
     return(CCGregorianCalendar.GetMonth(time));
 }
All Usage Examples Of System.Globalization.CCGregorianCalendar::GetMonth