xtd 1.0.0
Loading...
Searching...
No Matches
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:
33
39
41
45 [[nodiscard]] auto end() const noexcept -> const xtd::date_time& {return end_;}
46
49 [[nodiscard]] auto start() const noexcept -> const xtd::date_time& {return start_;}
51
52 private:
53 xtd::date_time start_;
54 xtd::date_time end_;
55 };
56 }
57}
Represents an instant in time, typically expressed as a date and time of day.
Definition date_time.hpp:83
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.hpp:18
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:37
auto end() const noexcept -> const xtd::date_time &
Gets the last date/time value in the range that the user has selected.
Definition date_range_event_args.hpp:45
auto start() const noexcept -> const xtd::date_time &
Gets the first date/time value in the range that the user has selected.
Definition date_range_event_args.hpp:49
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