跳到主要內容
文件

類別・函式規格

Calendar

Zittme\Framework\Calendar 類別的公開方法清單。本文件由 Zittme 核心原始碼自動產生。

原始碼:common/framework/Calendar.php

公開方法

  • static function getMonthName(int $month_number, bool $long_format = true)
  • This method returns the English name of a month, e.g. 9 = 'September'.
  • static function getMonthStartDayOfWeek(int $month_number, ?int $year = null)
  • This method returns the day on which a month begins.
  • static function getMonthDays(int $month_number, ?int $year = null)
  • This method returns the number of days in a month, e.g. February 2016 has 29 days.
  • static function getMonthCalendar(int $month_number, ?int $year = null, int $start_dow = 0)
  • This method returns a complete calendar for a month.