Skip to content

Commit

Permalink
Add missing methods to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemand committed Oct 1, 2019
1 parent ec35e8e commit 560b2aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ $calendar->setYear(2015);
$calendar->setMonth(7);
$calendar->setTimezone($timezone); // where $timezone is either a bare timezone string, or a DateTimeZone object
$calendar->getTimezone(); // returns the currently set timezone of the calendar as a DateTimeZone object
$calendar->setWeekStart(CarbonInterface::SUNDAY); // or you may use the zero-indexed day integer
$calendar->getWeekStart(); // returns the current start of the week zero-indexed day integer
$calendar->getFirstDay(); // returns the first day of the month
$calendar->getLastDay(); // returns the last day of the month
$calendar->getWeeks() // returns an array of Week objects
Expand Down

0 comments on commit 560b2aa

Please sign in to comment.