xtd 0.2.0
Loading...
Searching...
No Matches
date_range_event_args.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/date_time>
6#include <xtd/event_args>
7#include <cstdint>
8
10namespace xtd {
12 namespace forms {
14 class control;
16
31 public:
36
38
44
46
50 const xtd::date_time& end() const noexcept {return end_;}
51
54 const xtd::date_time& start() const noexcept {return start_;}
56
57 private:
58 xtd::date_time start_;
59 xtd::date_time end_;
60 };
61 }
62}
Represents an instant in time, typically expressed as a date and time of day.
Definition date_time.h:85
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.h:18
Provides data for the xtd::forms::month_calendar::date_changed or xtd::forms::month_calendar::date_se...
Definition date_range_event_args.h:30
date_range_event_args(const xtd::date_time &start, const xtd::date_time &end)
Initializes a new instance of the xtd::forms::date_range_event_args class.
Definition date_range_event_args.h:42
const xtd::date_time & end() const noexcept
Gets the last date/time value in the range that the user has selected.
Definition date_range_event_args.h:50
const xtd::date_time & start() const noexcept
Gets the first date/time value in the range that the user has selected.
Definition date_range_event_args.h:54
@ control
The left or right CTRL modifier key.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10