Class: Date
- Inherits:
-
Object
- Object
- Date
- Defined in:
- lib/russian_production_calendar/ext/date.rb
Instance Method Summary collapse
- #gt_holiday ⇒ Object
- #gt_workday ⇒ Object
- #gte_holiday ⇒ Object
- #gte_workday ⇒ Object
- #holiday? ⇒ Boolean
- #lt_holiday ⇒ Object
- #lt_workday ⇒ Object
- #lte_holiday ⇒ Object
- #lte_workday ⇒ Object
- #workday? ⇒ Boolean
Instance Method Details
#gt_holiday ⇒ Object
36 37 38 |
# File 'lib/russian_production_calendar/ext/date.rb', line 36 def gt_holiday RussianProductionCalendar.gt_holiday(self) end |
#gt_workday ⇒ Object
20 21 22 |
# File 'lib/russian_production_calendar/ext/date.rb', line 20 def gt_workday RussianProductionCalendar.gt_workday(self) end |
#gte_holiday ⇒ Object
28 29 30 |
# File 'lib/russian_production_calendar/ext/date.rb', line 28 def gte_holiday RussianProductionCalendar.gte_holiday(self) end |
#gte_workday ⇒ Object
12 13 14 |
# File 'lib/russian_production_calendar/ext/date.rb', line 12 def gte_workday RussianProductionCalendar.gte_workday(self) end |
#holiday? ⇒ Boolean
4 5 6 |
# File 'lib/russian_production_calendar/ext/date.rb', line 4 def holiday? RussianProductionCalendar.holiday?(self) end |
#lt_holiday ⇒ Object
40 41 42 |
# File 'lib/russian_production_calendar/ext/date.rb', line 40 def lt_holiday RussianProductionCalendar.lt_holiday(self) end |
#lt_workday ⇒ Object
24 25 26 |
# File 'lib/russian_production_calendar/ext/date.rb', line 24 def lt_workday RussianProductionCalendar.lt_workday(self) end |
#lte_holiday ⇒ Object
32 33 34 |
# File 'lib/russian_production_calendar/ext/date.rb', line 32 def lte_holiday RussianProductionCalendar.lte_holiday(self) end |
#lte_workday ⇒ Object
16 17 18 |
# File 'lib/russian_production_calendar/ext/date.rb', line 16 def lte_workday RussianProductionCalendar.lte_workday(self) end |
#workday? ⇒ Boolean
8 9 10 |
# File 'lib/russian_production_calendar/ext/date.rb', line 8 def workday? RussianProductionCalendar.workday?(self) end |