You are here

public function RoomsEventInterface::diff in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Returns the date interval between end and start date.

Return value

bool|DateInterval The interval between the end and start date.

1 method overrides RoomsEventInterface::diff()
RoomsEvent::diff in includes/rooms.event.inc
Returns the date interval between end and start date.

File

includes/rooms.event_interface.inc, line 119

Class

RoomsEventInterface
Class RoomsEventInterface The basic rooms event interface.

Code

public function diff();