|
ICU4X
International Components for Unicode
|
#include <ICU4XGregorianDateTimeFormatter.hpp>
Public Member Functions | |
| template<typename W> | |
| diplomat::result< std::monostate, ICU4XError > | format_iso_datetime_to_writeable (const ICU4XIsoDateTime &value, W &write) const |
| diplomat::result< std::string, ICU4XError > | format_iso_datetime (const ICU4XIsoDateTime &value) const |
| ICU4XGregorianDateTimeFormatter (capi::ICU4XGregorianDateTimeFormatter *i) | |
| ICU4XGregorianDateTimeFormatter ()=default | |
| ICU4XGregorianDateTimeFormatter (ICU4XGregorianDateTimeFormatter &&) noexcept=default | |
| ICU4XGregorianDateTimeFormatter & | operator= (ICU4XGregorianDateTimeFormatter &&other) noexcept=default |
Static Public Member Functions | |
| static diplomat::result< ICU4XGregorianDateTimeFormatter, ICU4XError > | create_with_lengths (const ICU4XDataProvider &provider, const ICU4XLocale &locale, ICU4XDateLength date_length, ICU4XTimeLength time_length) |
An ICU4X TypedDateTimeFormatter object capable of formatting a [ICU4XIsoDateTime] as a string, using the Gregorian Calendar.
See the Rust documentation for TypedDateTimeFormatter for more information.
|
inlineexplicit |
|
default |
|
defaultnoexcept |
|
inlinestatic |
Creates a new [ICU4XGregorianDateFormatter] from locale data.
See the Rust documentation for try_new for more information.
|
inline |
Formats a [ICU4XIsoDateTime] to a string.
See the Rust documentation for format for more information.
|
inline |
Formats a [ICU4XIsoDateTime] to a string.
See the Rust documentation for format for more information.
|
defaultnoexcept |