IsLeapMonth() public method

public IsLeapMonth ( int year, int month, int era ) : bool
year int
month int
era int
return bool
 public void PosTest4()
 {
     System.Globalization.Calendar tbc = new ThaiBuddhistCalendar();
     Random rand = new Random(-55);
     int year = tbc.MaxSupportedDateTime.Year + 543;
     int month = tbc.MaxSupportedDateTime.Month;
     int era;
     for (int i = 0; i < tbc.Eras.Length; i++)
     {
         era = tbc.Eras[i];
         Assert.False(tbc.IsLeapMonth(year, month, era));
     }
 }