AddMonths() 공개 메소드

public AddMonths ( System.DateTime time, int months ) : System.DateTime
time System.DateTime
months int
리턴 System.DateTime
예제 #1
0
파일: PersianDate.cs 프로젝트: BionStt/NHCM
 /// <summary>
 /// <para>Returnes a PersianDate object that is offset the specified number of months away from the specified PersianDate</para>
 /// </summary>
 public PersianDate AddMonths(int months)
 {
     return(new PersianDate(persianCalendar.AddMonths(FormalDateTime, months)));
 }