OROCHI
 
Loading...
Searching...
No Matches
GxDate Class Reference

#include <GxSysEnvironment.h>

Inheritance diagram for GxDate:
Collaboration diagram for GxDate:

Public Member Functions

初期化
 GxDate (void)
 デフォルトコンストラクタ
 
 GxDate (s32 year, s32 month, s32 day)
 コンストラクタ
 
 GxDate (s32 julianDay)
 コンストラクタ
 
アクセサ
s32 getJulianDay (void) const override
 日を取得
 
- Public Member Functions inherited from GxDateBase
 GxDateBase (void)
 デフォルトコンストラクタ
 
 GxDateBase (s32 year, s32 month, s32 day)
 コンストラクタ
 
 GxDateBase (s32 julianDay)
 コンストラクタ
 
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)
 日を設定
 
GxString getDateString (void) const
 日付文字列を返す
 
WEEKDAY getWeekday (void) const
 曜日を返す
 
- Public Member Functions inherited from GxClassBase
constexpr GxClassBase (void)
 コンストラクタ
 
constexpr GxClassBase (const GxClassBase &base)
 コピーコンストラクタ
 
 ~GxClassBase (void) override
 デストラクタ
 
- Public Member Functions inherited from GxClassBaseRoot
constexpr GxClassBaseRoot (void)
 コンストラクタ
 
constexpr GxClassBaseRoot (const GxClassBaseRoot &)
 コピーコンストラクタ
 
virtual ~GxClassBaseRoot (void)
 デストラクタ
 
constexpr GxClassBaseRootoperator= (const GxClassBaseRoot &)
 代入演算子
 
virtual GxRttigetRtti (void) const =0
 Rttiの取得
 
virtual GX_FORCE_INLINE const GxTypedObjectgetDefaultObject (void)
 デフォルトオブジェクトを取得
 
GX_FORCE_INLINE b32 isDefaultObject (void)
 デフォルトオブジェクト判定
 

Additional Inherited Members

- Static Public Member Functions inherited from GxDateBase
static constexpr s32 divedeFloor (s32 a, s32 b)
 除算(切り捨て)
 
static f64 GetGreenwichSiderealTime (f64 Tu)
 
- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 
- Static Public Attributes inherited from GxDateBase
static s16 _totalDays [12]
 
- Static Protected Member Functions inherited from GxDateBase
static s32 getMonth (s32 julianDay)
 月を取得
 
static s32 getDate (s32 julianDay, s32 month)
 日を取得
 
- Protected Attributes inherited from GxDateBase
s16 _year
 合計日数
 
s8 _month
 
 
s8 _day
 
 

Detailed Description

グレゴリオ暦 ユリウス暦1582年10月4日の翌日をグレゴリオ暦10月15日と改めた

Constructor & Destructor Documentation

◆ GxDate()

GxDate::GxDate ( s32 julianDay)

コンストラクタ

Parameters
julianDay[in] ユリウス日

Member Function Documentation

◆ getJulianDay()

s32 GxDate::getJulianDay ( void ) const
overridevirtual

日を取得

Returns
ユリウス日

Implements GxDateBase.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: