xtd 0.2.0
date_range_event_args.hpp
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.hpp:85
event_args()=default
Initializes a new instance of the event_args class.
Defines the base class for controls, which are components with visual representation.
Definition control.hpp:81
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.hpp: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.hpp: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.hpp:54
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition texts.hpp:219
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8