Class Kronolith_Day

Description

The Kronolith_Day:: class provides an API for dealing with days.

$Horde: kronolith/lib/Day.php,v 1.26.10.3 2007/12/20 14:12:32 jan Exp $

Located in /lib/Day.php (line 11)

Horde_Date
   |
   --Kronolith_Day
Direct descendents
Class Description
 class Kronolith_View_Day The Kronolith_View_Day:: class provides an API for viewing days.
Variable Summary
 array $slots
 integer $_slotLength
 integer $_slotsPerDay
 integer $_slotsPerHour
Method Summary
 Kronolith_Day Kronolith_Day ([ $month = null], [ $day = null], [ $year = null])
 void diff ()
 void getStamp ([ $offset = 0])
 void getTime ( $format, [ $offset = 0])
 void getTomorrow ()
 void isToday ()
 void isTomorrow ()
Variables
array $slots = array() (line 42)

Array of slots holding timestamps for each piece of this day.

integer $_slotLength (line 35)

How many minutes are in each slot? Calculated from $_slotsPerHour.

integer $_slotsPerDay (line 27)

How many slots do we have per day? Calculated from $_slotsPerHour.

integer $_slotsPerHour (line 19)

How many time slots are we dividing each hour into? Set from user preferences.

Methods
Constructor Kronolith_Day (line 44)
Kronolith_Day Kronolith_Day ([ $month = null], [ $day = null], [ $year = null])
  • $month
  • $day
  • $year
diff (line 98)
void diff ()
getStamp (line 83)
void getStamp ([ $offset = 0])
  • $offset
getTime (line 72)
void getTime ( $format, [ $offset = 0])
  • $format
  • $offset
getTomorrow (line 78)
void getTomorrow ()
isToday (line 88)
void isToday ()
isTomorrow (line 93)
void isTomorrow ()

Documentation generated on Sun, 30 Jan 2011 05:31:44 +0000 by phpDocumentor 1.4.3