[ Index ] |
PHP Cross Reference of Phabricator |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 89 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
getCalendarEventEpochs(PhabricatorUser $user,$start_day_str = 'Sunday',$days = 9) X-Ref |
This class is useful for generating various time objects, relative to the user and their timezone. For now, the class exposes two sets of static methods for the two main calendar views - one for the conpherence calendar widget and one for the user profile calendar view. These have slight differences such as conpherence showing both a three day "today 'til 2 days from now" *and* a Sunday -> Saturday list, whilest the profile view shows a more simple seven day rolling list of events. |
getCalendarWeekTimestamps(PhabricatorUser $user) X-Ref |
No description |
getCalendarWidgetTimestamps(PhabricatorUser $user) X-Ref |
No description |
getTimestamps(PhabricatorUser $user,$start_day_str,$days) X-Ref |
Public for testing purposes only. You should probably use one of the functions above. |
getStartDateTimeObjects(PhabricatorUser $user,$start_day_str) X-Ref |
No description |
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |