NAP
Public Member Functions | Public Attributes | List of all members
CalendarItem::Point Struct Reference

#include <calendaritem.h>

Public Member Functions

 Point ()=default
 
 Point (Time time, Time duration)
 
bool valid () const
 Returns if time is valid. More...
 

Public Attributes

Time mTime
 Property: 'Time' time of the event: hours (0-23) & minutes (0-59) More...
 
Time mDuration
 Property: 'Duration' length of event: hours (0-X) & minutes (0-59). Duration of 0 = never. More...
 

Description

Serializable calendar point in time structure. Represents point in time together with duration

Collaboration diagram for CalendarItem::Point:
[legend]

Constructor & Destructor Documentation

◆ Point() [1/2]

Point ( )
default

◆ Point() [2/2]

Point ( Time  time,
Time  duration 
)

Member Function Documentation

◆ valid()

bool valid ( ) const

Returns if time is valid.

Member Data Documentation

◆ mDuration

Time mDuration

Property: 'Duration' length of event: hours (0-X) & minutes (0-59). Duration of 0 = never.

◆ mTime

Time mTime

Property: 'Time' time of the event: hours (0-23) & minutes (0-59)