/// <summary> /// Construct MonthOfYear by specified Month and this Year /// </summary> /// <param name="month">Month</param> /// <returns>MonthOfYear</returns> public MonthOfYear ForMonth(Month month) { return(MonthOfYear.Of(Month.Of(month.GetMonth()), Of(_year))); }
/// <summary> /// Construct MonthOfYear by specified Year and This Month /// </summary> /// <param name="year"><code>int</code></param> /// <returns><code>MonthOfYear</code></returns> public MonthOfYear ForYear(int year) { return(MonthOfYear.Of(Of(_month), Year.Of(year))); }
/// <summary> /// Construct MonthOfYear by specified Month and this Year /// </summary> /// <param name="month">Month</param> /// <returns>MonthOfYear</returns> public MonthOfYear ForMonth(int month) { return(MonthOfYear.Of(Month.Of(month), Of(_year))); }
public MonthOfYear ForYear(Year year) { return(MonthOfYear.Of(Of(_month), year)); }