暦ベース抽象クラス
More...
#include <GxSysEnvironment.h>
|
|
| GxDateBase (void) |
| デフォルトコンストラクタ
|
|
| GxDateBase (s32 year, s32 month, s32 day) |
| コンストラクタ
|
|
| GxDateBase (s32 julianDay) |
| コンストラクタ
|
|
constexpr | GxClassBase (void) |
| コンストラクタ
|
|
constexpr | GxClassBase (const GxClassBase &base) |
| コピーコンストラクタ
|
|
| ~GxClassBase (void) override |
| デストラクタ
|
|
constexpr | GxClassBaseRoot (void) |
| コンストラクタ
|
|
constexpr | GxClassBaseRoot (const GxClassBaseRoot &) |
| コピーコンストラクタ
|
|
virtual | ~GxClassBaseRoot (void) |
| デストラクタ
|
|
constexpr GxClassBaseRoot & | operator= (const GxClassBaseRoot &) |
| 代入演算子
|
|
virtual GxRtti & | getRtti (void) const =0 |
| Rttiの取得
|
|
virtual GX_FORCE_INLINE const GxTypedObject * | getDefaultObject (void) |
| デフォルトオブジェクトを取得
|
|
GX_FORCE_INLINE b32 | isDefaultObject (void) |
| デフォルトオブジェクト判定
|
|
|
|
static constexpr s32 | divedeFloor (s32 a, s32 b) |
| 除算(切り捨て)
|
|
static GX_FORCE_INLINE GxRtti & | __getStaticRtti (void) |
| Rttiの取得
|
|
|
constexpr s32 | getYear (void) const |
| 年を取得
|
|
constexpr void | setYear (s32 year) |
| 年を設定
|
|
constexpr s32 | getMonth (void) const |
| 月を取得
|
|
constexpr void | setMonth (s32 month) |
| 月を設定
|
|
constexpr s32 | getDay (void) const |
| 日を取得
|
|
constexpr void | setDay (s32 day) |
| 日を設定
|
|
virtual s32 | getJulianDay (void) const =0 |
| 修正ユリウス日を返す
|
|
GxString | getDateString (void) const |
| 日付文字列を返す
|
|
WEEKDAY | getWeekday (void) const |
| 曜日を返す
|
|
static f64 | GetGreenwichSiderealTime (f64 Tu) |
|
static s32 | getMonth (s32 julianDay) |
| 月を取得
|
|
static s32 | getDate (s32 julianDay, s32 month) |
| 日を取得
|
|
◆ GxDateBase() [1/2]
GxDateBase::GxDateBase |
( |
s32 | year, |
|
|
s32 | month, |
|
|
s32 | day ) |
コンストラクタ
- Parameters
-
year | [in] 年 |
month | [in] 月 |
day | [in] 日 |
◆ GxDateBase() [2/2]
GxDateBase::GxDateBase |
( |
s32 | julianDay | ) |
|
◆ getDate()
s32 GxDateBase::getDate |
( |
s32 | julianDay, |
|
|
s32 | month ) |
|
staticprotected |
日を取得
- Parameters
-
julianDay | [in] ユリウス日 |
month | [in] 月 |
- Returns
- 日
◆ getDateString()
GxString GxDateBase::getDateString |
( |
void | | ) |
const |
◆ GetGreenwichSiderealTime()
f64 GxDateBase::GetGreenwichSiderealTime |
( |
f64 | Tu | ) |
|
|
static |
グリニッジ恒星時を求める 返り値:恒星時。単位は24時間、360度を1とする角度。
- Parameters
-
- Returns
- 恒星時
◆ getJulianDay()
virtual s32 GxDateBase::getJulianDay |
( |
void | | ) |
const |
|
pure virtual |
◆ getMonth()
s32 GxDateBase::getMonth |
( |
s32 | julianDay | ) |
|
|
staticprotected |
◆ getWeekday()
WEEKDAY GxDateBase::getWeekday |
( |
void | | ) |
const |
◆ _totalDays
s16 GxDateBase::_totalDays |
|
static |
Initial value:= {
0,
31,
31 + 30,
31 + 30 + 31,
31 + 30 + 31 + 30,
31 + 30 + 31 + 30 + 31,
31 + 30 + 31 + 30 + 31 + 31,
31 + 30 + 31 + 30 + 31 + 31 + 30,
31 + 30 + 31 + 30 + 31 + 31 + 30 + 31,
31 + 30 + 31 + 30 + 31 + 31 + 30 + 31 + 30,
31 + 30 + 31 + 30 + 31 + 31 + 30 + 31 + 30 + 31,
31 + 30 + 31 + 30 + 31 + 31 + 30 + 31 + 30 + 31 + 31,
}
◆ _year
The documentation for this class was generated from the following files:
- C:/Users/t-arai/Documents/workspace/orochi_package_windows/middleware/GxCore/src/GxSysEnvironment.h
- C:/Users/t-arai/Documents/workspace/orochi_package_windows/middleware/GxCore/src/GxSysEnvironment.cpp