namespace PokeRNG { class DateTime; }
日時を表すクラスである。
名前 | 説明 |
---|---|
void set_year(u32); | 年の値を設定する。 |
void set_month(u32); | 月の値を設定する。 |
void set_day(u32); | 日の値を設定する。 |
void set_hour(u32); | 時の値を設定する。 |
void set_minute(u32); | 分の値を設定する。 |
void set_second(u32); | 秒の値を設定する。 |
名前 | 説明 |
---|---|
u32 get_year() const; | 年の値を取得する。 |
u32 get_month() const; | 月の値を取得する。 |
u32 get_day() const; | 日の値を取得する。 |
u32 get_hour() const; | 時の値を取得する。 |
u32 get_minute() const; | 分の値を取得する。 |
u32 get_second() const; | 秒の値を取得する。 |