/** * <p><code>DangiCalendar</code> is a concrete subclass of {@link Calendar} * that implements a traditional Korean lunisolar calendar.</p> * * <p>DangiCalendar usually should be instantiated using * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code> * with the tag <code>"@calendar=dangi"</code>.</p> * * @internal
*/ class DangiCalendar : public ChineseCalendar { public: //------------------------------------------------------------------------- // Constructors... //-------------------------------------------------------------------------
/** * Constructs a DangiCalendar based on the current time in the default time zone * with the given locale. * * @param aLocale The given locale. * @param success Indicates the status of DangiCalendar object construction. * Returns U_ZERO_ERROR if constructed successfully. * @internal
*/
DangiCalendar(const Locale& aLocale, UErrorCode &success);
/** * @return The related Gregorian year; will be obtained by modifying the value * obtained by get from UCAL_EXTENDED_YEAR field * @internal
*/ virtual int32_t getRelatedYear(UErrorCode &status) const override;
/** * @param year The related Gregorian year to set; will be modified as necessary then * set in UCAL_EXTENDED_YEAR field * @internal
*/ virtualvoid setRelatedYear(int32_t year) override;
private:
// UObject stuff public: /** * @return The class ID for this object. All objects of a given class have the * same class ID. Objects of other classes have different class IDs. * @internal
*/ virtual UClassID getDynamicClassID() const override;
/** * Return the class ID for this class. This is useful only for comparing to a return * value from getDynamicClassID(). For example: * * Base* polymorphic_pointer = createPolymorphicObject(); * if (polymorphic_pointer->getDynamicClassID() == * Derived::getStaticClassID()) ... * * @return The class ID for all objects of this class. * @internal
*/
U_I18N_API static UClassID U_EXPORT2 getStaticClassID();
/** * return the calendar type, "dangi". * * @return calendar type * @internal
*/ constchar * getType() const override;
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.