Overview

Packages

  • Date

Classes

  • Horde_Date
  • Horde_Date_Exception
  • Horde_Date_Recurrence
  • Horde_Date_Repeater
  • Horde_Date_Repeater_Day
  • Horde_Date_Repeater_DayName
  • Horde_Date_Repeater_DayPortion
  • Horde_Date_Repeater_Fortnight
  • Horde_Date_Repeater_Hour
  • Horde_Date_Repeater_Minute
  • Horde_Date_Repeater_Month
  • Horde_Date_Repeater_MonthName
  • Horde_Date_Repeater_Season
  • Horde_Date_Repeater_SeasonName
  • Horde_Date_Repeater_Second
  • Horde_Date_Repeater_Time
  • Horde_Date_Repeater_Week
  • Horde_Date_Repeater_Weekend
  • Horde_Date_Repeater_Year
  • Horde_Date_Span
  • Horde_Date_Translation
  • Horde_Date_Utils

Exceptions

  • Horde_Date_Repeater_Exception
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Date_Repeater_DayPortion

Horde_Date_Repeater
Extended by Horde_Date_Repeater_DayPortion
Package: Date
Category: Horde
Located at Horde/Date/Repeater/DayPortion.php
Methods summary
public
# __construct( mixed $type )
public
# next( mixed $pointer = 'future' )

returns the next occurance of this repeatable.

returns the next occurance of this repeatable.

Overrides

Horde_Date_Repeater::next()
public
# this( mixed $context = 'future' )

Overrides

Horde_Date_Repeater::this()
public
# offset( mixed $span, mixed $amount, mixed $pointer )
public
# width( )

returns the width (in seconds or months) of this repeatable.

returns the width (in seconds or months) of this repeatable.

public
# __toString( )

Overrides

Horde_Date_Repeater::__toString()
Properties summary
public static array $morning

6am-12am (6 * 60 * 60, 12 * 60 * 60)

6am-12am (6 * 60 * 60, 12 * 60 * 60)

# array(21600, 43200)
public static array $afternoon

1pm-5pm (13 * 60 * 60, 17 * 60 * 60)

1pm-5pm (13 * 60 * 60, 17 * 60 * 60)

# array(46800, 61200)
public static array $evening

5pm-8pm (17 * 60 * 60, 20 * 60 * 60)

5pm-8pm (17 * 60 * 60, 20 * 60 * 60)

# array(61200, 72000)
public static array $night

8pm-12pm (20 * 60 * 60, 24 * 60 * 60)

8pm-12pm (20 * 60 * 60, 24 * 60 * 60)

# array(72000, 86400)
public mixed $range
#
public mixed $currentSpan
#
public mixed $type
#
Properties inherited from Horde_Date_Repeater
$now
API documentation generated by ApiGen