namespace icu4x { /** *Seethe[Rustdocumentationfor`YearStyle`](https://docs.rs/icu/2.1.1/icu/datetime/options/enum.YearStyle.html) for more information.
*/ class YearStyle {
public: enum Value { Auto = 0,
Full = 1,
WithEra = 2,
};
YearStyle(): value(Value::Auto) {}
// Implicit conversions between enum and ::Value
constexpr YearStyle(Value v) : value(v) {}
constexpr operator Value() const { return value; } // Prevent usage as boolean value explicitoperatorbool() const = delete;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.