Skip to content

Commit

Permalink
GitHub #82 - Add weekend and weekday convenience options
Browse files Browse the repository at this point in the history
  • Loading branch information
sqmk committed Dec 19, 2014
1 parent 4c35d6c commit 71795da
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion library/Phue/TimePattern/RecurringTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ class RecurringTime extends AbstractTimePattern
const SATURDAY = 2;
const SUNDAY = 1;

/**
* Groups of days.
*/
const WEEKDAY = 124;
const WEEKEND = 3;

/**
* Days of week
*
Expand All @@ -37,7 +43,7 @@ class RecurringTime extends AbstractTimePattern

/**
* Time of day
*
*
* @var string
*/
protected $timeOfDay;
Expand Down

0 comments on commit 71795da

Please sign in to comment.