Represents a date selection range in a month calendar control.
Public Properties | |
| date_time | end |
| Gets or sets the ending date and time of the selection range. | |
| date_time | start |
| Gets or sets the starting date and time of the selection range. | |
Public Constructors | |
| selection_range ()=default | |
| Initializes a new instance of the xtd::forms::selection_range class. | |
| selection_range (date_time start, date_time end) | |
| Initializes a new instance of the xtd::forms::selection_range class with the specified beginning and ending dates. | |
Public Methods | |
| xtd::string | to_string () const noexcept override |
| Returns a xtd::string that represents the current object. | |
Additional Inherited Members | |
| object ()=default | |
| Create a new instance of the ultimate base class object. | |
| virtual auto | equals (const object &obj) const noexcept -> bool |
| Determines whether the specified object is equal to the current object. | |
| virtual auto | get_hash_code () const noexcept -> xtd::usize |
| Serves as a hash function for a particular type. | |
| virtual auto | get_type () const noexcept -> type_object |
| Gets the type of the current instance. | |
| template<typename object_t> | |
| auto | memberwise_clone () const -> xtd::unique_ptr_object< object_t > |
| Creates a shallow copy of the current object. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are considered equal. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are the same instance. | |
|
default |
Initializes a new instance of the xtd::forms::selection_range class.
Initializes a new instance of the xtd::forms::selection_range class with the specified beginning and ending dates.
| start | The starting date in the xtd::forms::selection_range. |
| end | The ending date in the xtd::forms::selection_range. |
|
overridevirtualnoexcept |
Returns a xtd::string that represents the current object.
Reimplemented from xtd::object.
| date_time xtd::forms::selection_range::end |
Gets or sets the ending date and time of the selection range.
| end | The ending xtd::date_time value of the range. |
| date_time xtd::forms::selection_range::start |
Gets or sets the starting date and time of the selection range.
| start | The starting xtd::date_time value of the range. |