Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | List of all members
core_calendar\local\event\value_objects\times_interface Interface Reference

Interface for various times. More...

Inheritance diagram for core_calendar\local\event\value_objects\times_interface:
core_calendar\local\event\value_objects\event_times

Public Member Functions

 get_duration ()
 Get the duration (the time between start and end). More...
 
 get_end_time ()
 Get the end time. More...
 
 get_modified_time ()
 Get the modified time. More...
 
 get_sort_time ()
 Get the sort time. More...
 
 get_start_time ()
 Get the start time. More...
 

Detailed Description

Interface for various times.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ get_duration()

core_calendar\local\event\value_objects\times_interface::get_duration ( )

Get the duration (the time between start and end).

Return values
DateInterval

Implemented in core_calendar\local\event\value_objects\event_times.

◆ get_end_time()

core_calendar\local\event\value_objects\times_interface::get_end_time ( )

Get the end time.

Return values
DateTimeImmutable

Implemented in core_calendar\local\event\value_objects\event_times.

◆ get_modified_time()

core_calendar\local\event\value_objects\times_interface::get_modified_time ( )

Get the modified time.

Return values
DateTimeImmutable

Implemented in core_calendar\local\event\value_objects\event_times.

◆ get_sort_time()

core_calendar\local\event\value_objects\times_interface::get_sort_time ( )

Get the sort time.

Return values
DateTimeImmutable

Implemented in core_calendar\local\event\value_objects\event_times.

◆ get_start_time()

core_calendar\local\event\value_objects\times_interface::get_start_time ( )

Get the start time.

Return values
DateTimeImmutable

Implemented in core_calendar\local\event\value_objects\event_times.


The documentation for this interface was generated from the following file: