Function __global->monthly_spec_type_chooser

Definitions

sources/calendar.php

  • Choose how a recurring monthly event should be encoded.This function is timezone-agnostic.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$day_of_month integer No No required parameter N/A N/A The concrete day
$month integer No No required parameter N/A N/A The concrete month
$year integer No No required parameter N/A N/A The concrete year
$default_monthly_spec_type ID_TEXT No No day_of_month day_of_month day_of_month_backwards dow_of_month dow_of_month_backwards N/A Current in-month specification type

Returns

  • Chooser
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Choose how a recurring monthly event should be encoded.This function is timezone-agnostic.
 *
 * @param  integer $day_of_month The concrete day
 * @param  integer $month The concrete month
 * @param  integer $year The concrete year
 * @param  ID_TEXT $default_monthly_spec_type Current in-month specification type
 * @set day_of_month day_of_month_backwards dow_of_month dow_of_month_backwards
 * @return Tempcode Chooser
 */

function monthly_spec_type_chooser(int $day_of_month, int $month, int $year, string $default_monthly_spec_type = 'day_of_month') : object