-
Notifications
You must be signed in to change notification settings - Fork 0
libdatephp cDateStrategyMonthly
- Class name: cDateStrategyMonthly
- Namespace: libdatephp
- Parent class: libdatephp\cDateStrategy
The class cDateStrategyMonthly calculates recurring monthly events based on daynumber(s) or monthnumber(s). It is specialized to find one or some events in the months, which are examined. Certain events in certain months. For example it can solve the problem to find matching events for the fith and seventh day of a month in the months april and december.
There are several child classes for specialized tasks:
- cDateStrategyDaily
- cDateStrategyDailyFixed
- cDateStrategyMonthly
- cDateStrategyMonthlyFixed
- cDateStrategyNoInterval
- cDateStrategySimpleDate
- cDateStrategySimpleInterval
- cDateStrategyWeekly
abstract methods are:
- IsValid( )
- GetFirstDate( )
- FromString( )
- GetNextEventSlot( )
all objects have one calendar with celebrities in common and each object has its own calendar with holidays
-
cDateStrategyMonthly::AddCelebrity()
- This method is defined by libdatephp\cDateStrategy
public static mixed libdatephp\cDateStrategy::AddCelebrity($obj_date)
-
cDateStrategyMonthly::AddHoliday()
- This method is defined by libdatephp\cDateStrategy
public mixed libdatephp\cDateStrategy::AddHoliday($obj_date)
-
cDateStrategyMonthly::AdjustedUnderOverflow()
- This method is defined by libdatephp\cDateStrategy
public mixed libdatephp\cDateStrategy::AdjustedUnderOverflow(\libdatephp\cDate $date_test, integer $direction)
-
cDateStrategyMonthly::AsString()
- This method is defined by libdatephp\cDateStrategy
public abstract string libdatephp\cDateStrategy::AsString()
-
- This method is defined by libdatephp\cDateStrategy
public mixed libdatephp\cDateStrategy::Dump(\libdatephp\cDate $obj_date_calc_from, \libdatephp\cDate $obj_date_calc_to, integer $direction)
-
cDateStrategyMonthly::FillForm()
- This method is defined by libdatephp\cDateStrategy
public mixed libdatephp\cDateStrategy::FillForm()
-
cDateStrategyMonthly::FromForm()
- This method is defined by libdatephp\cDateStrategy
public mixed libdatephp\cDateStrategy::FromForm()
-
cDateStrategyMonthly::FromString()
- This method is defined by libdatephp\cDateStrategy
public abstract mixed libdatephp\cDateStrategy::FromString(string $str)
-
cDateStrategyMonthly::GetArray()
- This method is defined by libdatephp\cDateStrategy
public void libdatephp\cDateStrategy::GetArray(array $ary, \libdatephp\cDate $obj_date_start, mixed $obj_date_end, integer $direction, boolean $debug)
-
cDateStrategyMonthly::GetEndDate()
- This method is defined by libdatephp\cDateStrategy
public \libdatephp\cDate libdatephp\cDateStrategy::GetEndDate()
-
cDateStrategyMonthly::GetFirstDate()
- This method is defined by libdatephp\cDateStrategy
public abstract \libdatephp\cDate libdatephp\cDateStrategy::GetFirstDate()
-
cDateStrategyMonthly::GetFollower()
- This method is defined by libdatephp\cDateStrategy
public \libdatephp\cDate libdatephp\cDateStrategy::GetFollower(\libdatephp\cDate $date, \libdatephp\cDate $dt_next, integer $direction)
-
cDateStrategyMonthly::GetNextEventDate()
- This method is defined by libdatephp\cDateStrategy
public \libdatephp\cDate|null libdatephp\cDateStrategy::GetNextEventDate($obj_date_start, $is_first_date)
-
cDateStrategyMonthly::GetNextEventSlot()
- This method is defined by libdatephp\cDateStrategy
public abstract \libdatephp\cDate libdatephp\cDateStrategy::GetNextEventSlot(\libdatephp\cDate $obj_date, integer $direction)
-
cDateStrategyMonthly::GetPredecessor()
- This method is defined by libdatephp\cDateStrategy
public \libdatephp\cDate libdatephp\cDateStrategy::GetPredecessor(\libdatephp\cDate $obj_date, \libdatephp\cDate $dt_prev)
-
cDateStrategyMonthly::GetStartDate()
- This method is defined by libdatephp\cDateStrategy
public \libdatephp\cDate libdatephp\cDateStrategy::GetStartDate()
-
cDateStrategyMonthly::GetStrategyCelebrity()
- This method is defined by libdatephp\cDateStrategy
public integer libdatephp\cDateStrategy::GetStrategyCelebrity()
-
cDateStrategyMonthly::GetStrategyHoliday()
- This method is defined by libdatephp\cDateStrategy
public integer libdatephp\cDateStrategy::GetStrategyHoliday()
-
cDateStrategyMonthly::GetStrategyImpossible()
- This method is defined by libdatephp\cDateStrategy
public integer libdatephp\cDateStrategy::GetStrategyImpossible()
-
cDateStrategyMonthly::GetStrategySaturday()
- This method is defined by libdatephp\cDateStrategy
public integer libdatephp\cDateStrategy::GetStrategySaturday()
-
cDateStrategyMonthly::GetStrategySunday()
- This method is defined by libdatephp\cDateStrategy
public integer libdatephp\cDateStrategy::GetStrategySunday()
-
cDateStrategyMonthly::HasEndDate()
- This method is defined by libdatephp\cDateStrategy
public boolean libdatephp\cDateStrategy::HasEndDate()
-
cDateStrategyMonthly::IsCelebrity()
- This method is defined by libdatephp\cDateStrategy
public static boolean libdatephp\cDateStrategy::IsCelebrity($obj_date)
-
cDateStrategyMonthly::IsEventDate()
- This method is defined by libdatephp\cDateStrategy
public boolean libdatephp\cDateStrategy::IsEventDate($obj_date)
-
cDateStrategyMonthly::IsHoliday()
- This method is defined by libdatephp\cDateStrategy
public boolean libdatephp\cDateStrategy::IsHoliday($obj_date)
-
cDateStrategyMonthly::IsHolidayOrCelebrity()
- This method is defined by libdatephp\cDateStrategy
public boolean libdatephp\cDateStrategy::IsHolidayOrCelebrity($obj_date)
-
cDateStrategyMonthly::IsValid()
- This method is defined by libdatephp\cDateStrategy
public abstract boolean libdatephp\cDateStrategy::IsValid()
-
cDateStrategyMonthly::MoveDateIfNecessary()
- This method is defined by libdatephp\cDateStrategy
public \libdatephp\cDate libdatephp\cDateStrategy::MoveDateIfNecessary($date)
-
- This method is defined by libdatephp\cDateStrategy
public mixed libdatephp\cDateStrategy::Reset()
-
cDateStrategyMonthly::ResetCelebrities()
- This method is defined by libdatephp\cDateStrategy
public static mixed libdatephp\cDateStrategy::ResetCelebrities()
-
cDateStrategyMonthly::ResetHolidays()
- This method is defined by libdatephp\cDateStrategy
public mixed libdatephp\cDateStrategy::ResetHolidays()
-
cDateStrategyMonthly::SetEndDate()
- This method is defined by libdatephp\cDateStrategy
public mixed libdatephp\cDateStrategy::SetEndDate(\libdatephp\cDate $obj_date)
-
cDateStrategyMonthly::SetLanguage()
- This method is defined by libdatephp\cDateStrategy
public mixed libdatephp\cDateStrategy::SetLanguage(string $language)
-
cDateStrategyMonthly::SetStartDate()
- This method is defined by libdatephp\cDateStrategy
public mixed libdatephp\cDateStrategy::SetStartDate(\libdatephp\cDate $obj_date)
-
cDateStrategyMonthly::SetStrategyCelebrity()
- This method is defined by libdatephp\cDateStrategy
public mixed libdatephp\cDateStrategy::SetStrategyCelebrity(integer $direction)
-
cDateStrategyMonthly::SetStrategyHoliday()
- This method is defined by libdatephp\cDateStrategy
public mixed libdatephp\cDateStrategy::SetStrategyHoliday(integer $direction)
-
cDateStrategyMonthly::SetStrategyImpossible()
- This method is defined by libdatephp\cDateStrategy
public mixed libdatephp\cDateStrategy::SetStrategyImpossible(integer $direction)
-
cDateStrategyMonthly::SetStrategySaturday()
- This method is defined by libdatephp\cDateStrategy
public mixed libdatephp\cDateStrategy::SetStrategySaturday(integer $direction)
-
cDateStrategyMonthly::SetStrategySunday()
- This method is defined by libdatephp\cDateStrategy
public mixed libdatephp\cDateStrategy::SetStrategySunday(integer $direction)
-
cDateStrategyMonthly::__construct()
- This method is defined by libdatephp\cDateStrategy
public \libdatephp\cDateStrategy libdatephp\cDateStrategy::__construct($start_date, $end_date, $language, $directionOnSaturday, $directionOnSunday, $directionOnCelebrity, $directionOnHoliday, $directionOnImpossible)
This wiki page is part of the documentation of the PHP class library libdatephp