Provides culture-specific information about the format of date and time values.
Public Constructors | |
| date_time_format_info () | |
| Initializes a new instance of the xtd::globalization::date_time_format_info class. | |
| date_time_format_info (date_time_format_info &&info)=default | |
| Initializes a new instance of the xtd::globalization::date_time_format_info class with specified info. | |
| date_time_format_info (const date_time_format_info &info) | |
| Initializes a new instance of the xtd::globalization::date_time_format_info class with specified infp. | |
Public Properties | |
| const xtd::array< xtd::string > & | abreviated_day_names () const noexcept |
| Gets a one-dimensional array of type String containing the culture-specific abbreviated names of the days of the week. | |
| date_time_format_info & | abreviated_day_names (const xtd::array< xtd::string > &value) noexcept |
| Sets a one-dimensional array of type String containing the culture-specific abbreviated names of the days of the week. | |
| const xtd::array< xtd::string > & | abreviated_month_genitive_names () const noexcept |
| date_time_format_info & | abreviated_month_genitive_names (const xtd::array< xtd::string > &value) noexcept |
| const xtd::array< xtd::string > & | abreviated_month_names () const noexcept |
| date_time_format_info & | abreviated_month_names (const xtd::array< xtd::string > &value) noexcept |
| const xtd::string & | am_designator () const noexcept |
| date_time_format_info & | am_designator (const xtd::string &value) noexcept |
| const xtd::string & | date_separator () const noexcept |
| date_time_format_info & | date_separator (const xtd::string &value) noexcept |
| const xtd::array< xtd::string > & | day_names () const noexcept |
| date_time_format_info & | day_names (const xtd::array< xtd::string > &value) noexcept |
| xtd::day_of_week | first_day_of_week () const noexcept |
| date_time_format_info & | first_day_of_week (xtd::day_of_week value) noexcept |
| const string & | full_date_time_pattern () const noexcept |
| date_time_format_info & | full_date_time_pattern (const string &value) noexcept |
| const string & | long_date_pattern () const noexcept |
| date_time_format_info & | long_date_pattern (const string &value) noexcept |
| const string & | long_time_pattern () const noexcept |
| date_time_format_info & | long_time_pattern (const string &value) noexcept |
| const string & | month_day_pattern () const noexcept |
| date_time_format_info & | month_day_pattern (const string &value) noexcept |
| const xtd::array< xtd::string > & | month_genitive_names () const noexcept |
| date_time_format_info & | month_genitive_names (const xtd::array< xtd::string > &value) noexcept |
| const xtd::array< xtd::string > & | month_names () const noexcept |
| date_time_format_info & | month_names (const xtd::array< xtd::string > &value) noexcept |
| const xtd::string & | native_calendar_name () const noexcept |
| date_time_format_info & | native_calendar_name (const xtd::string &value) noexcept |
| const xtd::string & | pm_designator () const noexcept |
| date_time_format_info & | pm_designator (const xtd::string &value) noexcept |
| const string & | rfc_1123_pattern () const noexcept |
| date_time_format_info & | rfc_1123_pattern (const string &value) noexcept |
| const string & | short_date_pattern () const noexcept |
| date_time_format_info & | short_date_pattern (const string &value) noexcept |
| const string & | short_time_pattern () const noexcept |
| date_time_format_info & | short_time_pattern (const string &value) noexcept |
| const xtd::array< xtd::string > & | shortest_day_names () const noexcept |
| date_time_format_info & | shortest_day_names (const xtd::array< xtd::string > &value) noexcept |
| const string & | sortable_date_time_pattern () const noexcept |
| date_time_format_info & | sortable_date_time_pattern (const string &value) noexcept |
| const xtd::string & | time_separator () const noexcept |
| date_time_format_info & | time_separator (const xtd::string &value) noexcept |
| const string & | universal_sortable_date_time_pattern () const noexcept |
| date_time_format_info & | universal_sortable_date_time_pattern (const string &value) noexcept |
| const string & | year_month_pattern () const noexcept |
| date_time_format_info & | year_month_pattern (const string &value) noexcept |
Public Static Properties | |
| static const date_time_format_info & | current_info () noexcept |
| static const date_time_format_info & | invariant_info () noexcept |
Additional Inherited Members | |
| object ()=default | |
| Create a new instance of the ultimate base class object. | |
| virtual bool | equals (const object &obj) const noexcept |
| Determines whether the specified object is equal to the current object. | |
| virtual xtd::size | get_hash_code () const noexcept |
| Serves as a hash function for a particular type. | |
| virtual type_object | get_type () const noexcept |
| Gets the type of the current instance. | |
| template<class object_t> | |
| xtd::unique_ptr_object< object_t > | memberwise_clone () const |
| Creates a shallow copy of the current object. | |
| virtual xtd::string | to_string () const noexcept |
| Returns a xtd::string that represents the current object. | |
| template<class object_a_t, class object_b_t> | |
| static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are considered equal. | |
| template<class object_a_t, class object_b_t> | |
| static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are the same instance. | |
| xtd::globalization::date_time_format_info::date_time_format_info | ( | ) |
Initializes a new instance of the xtd::globalization::date_time_format_info class.
|
default |
Initializes a new instance of the xtd::globalization::date_time_format_info class with specified info.
| info | The xtd::globalization::date_time_format_info to inititalise this instance. |
| xtd::globalization::date_time_format_info::date_time_format_info | ( | const date_time_format_info & | info | ) |
Initializes a new instance of the xtd::globalization::date_time_format_info class with specified infp.
| info | The xtd::globalization::date_time_format_info to inititalise this instance. |
|
noexcept |
Gets a one-dimensional array of type String containing the culture-specific abbreviated names of the days of the week.
|
noexcept |
Sets a one-dimensional array of type String containing the culture-specific abbreviated names of the days of the week.
| value | A one-dimensional array of type xtd::string containing the culture-specific abbreviated names of the days of the week. The array for xtd::globalization::date_time_format_info::invariant_info contains "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", and "Sat". |
| xtd::argument_exception | The property is being set to an array that has a length that is not exactly 7. |