|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include "Date.hpp"#include "AstUtil/Constants.h"#include "AstUtil/Logger.hpp"#include <assert.h>#include <cmath>命名空间 | |
| namespace | ast |
函数 | |
| const char * | ast::aMoonFullName (int month) |
| const char * | ast::aMoonShortName (int month) |
| const char * | ast::aWeekDayFullName (int wday) |
| const char * | ast::aWeekDayShortName (int wday) |
| A_ALWAYS_INLINE bool | ast::_aIsLeapYear (int year) |
| bool | ast::aIsLeapYear (int year) |
| int | ast::aDaysInMonthByYear (int month, int year) |
| int | ast::aDaysInMonthByLeap (int month, bool isLeapYear) |
| int | ast::aDayOfYear (const Date &date) |
| int | ast::aDayOfWeek (const Date &date) |
| void | ast::aDateToYD (const Date &date, int &year, int &days) |
| void | ast::aDateNormalize (Date &date) |
| void | ast::aYDToDate (int year, int days, Date &date) |
| int | ast::aDateToJDAtNoon (const Date &date) |
| void | ast::aJDToDateAtNoon (int jd, Date &date) |
| ImpreciseJD | ast::aDateToJD (const Date &date) |
| void | ast::aJDToDate (ImpreciseJD jd, Date &date, double *secInDay=nullptr) |
| int | ast::aDateToMJD (const Date &date) |
| void | ast::aMJDToDate (int mjd, Date &date) |
| std::string | ast::aDateToString (const Date &date) |
~