xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
date_time_picker_format.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/ustring.h>
6 
8 namespace xtd {
10  namespace forms {
20  long_format = 1,
22  short_format = 2,
24  time = 4,
26  custom = 8,
27  };
28 
30  inline std::ostream& operator<<(std::ostream& os, date_time_picker_format value) {return os << to_string(value, {{date_time_picker_format::long_format, "long_format"}, {date_time_picker_format::short_format, "short_format"}, {date_time_picker_format::time, "time"}, {date_time_picker_format::custom, "custom"}});}
31  inline std::wostream& operator<<(std::wostream& os, date_time_picker_format value) {return os << to_string(value, {{date_time_picker_format::long_format, L"long_format"}, {date_time_picker_format::short_format, L"short_format"}, {date_time_picker_format::time, L"time"}, {date_time_picker_format::custom, L"custom"}});}
33  }
34 }
The date_time_picker control displays the date/time value in a custom format.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
date_time_picker_format
Specifies the date and time format the date_time_picker control displays.
Definition: date_time_picker_format.h:18
The date_time_picker control displays the date/time value in the time format set by the user&#39;s operat...
Contains xtd::ustring class.
The date_time_picker control displays the date/time value in the short date format set by the user&#39;s ...
The date_time_picker control displays the date/time value in the long date format set by the user&#39;s o...
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: to_string.h:37