System.TimeSpanExtensions.TotalMonths C# (CSharp) 메소드

TotalMonths() 공개 정적인 메소드

public static TotalMonths ( this timeSpan ) : double?
timeSpan this
리턴 double?
		public static double? TotalMonths(this TimeSpan? timeSpan)
		{
			return timeSpan.Select(x => x.TotalDays / 30);
		}
	}