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);
		}
	}