Пример #1
0
 public static function getMonthFirstday($year, $month)
 {
     $lu = new Lunar($year, $month, 1);
     if ($lu->weekday != 0) {
         $lu->getDiffDate(0 - $lu->weekday);
     }
     return $lu;
 }