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
29 public:
34
36
42
44
48 const xtd::date_time& end() const noexcept {return end_;}
49
52 const xtd::date_time& start() const noexcept {return start_;}
54
55 private:
56 xtd::date_time start_;
57 xtd::date_time end_;
58 };
59 }
60}
Represents an instant in time, typically expressed as a date and time of day.
Definition date_time.h:79
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:28
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:40
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:48
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:52
@ 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