🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
Date.hpp 文件参考
#include "AstGlobal.h"
#include <string>

浏览该文件的源代码.

class  ast::Date
 

命名空间

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)
 
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::aYDToDate (int year, int days, Date &date)
 
void ast::aDateToYD (const Date &date, int &year, int &days)
 
void ast::aDateNormalize (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)
 
A_ALWAYS_INLINE Date ast::aMJDToDate (int mjd)
 
A_ALWAYS_INLINE int ast::aDateToMJD (int year, int month, int day)
 

详细描述


~

作者
axel
日期
21.11.2025

ast项目(https://github.com/space-ast/ast) 本项目基于 Apache 2.0 开源许可证分发。 您可在遵守许可证条款的前提下使用、修改和分发本软件。 许可证全文请见:

http://www.apache.org/licenses/LICENSE-2.0

重要须知: 软件按“现有状态”提供,无任何明示或暗示的担保条件。 除非法律要求或书面同意,作者与贡献者不承担任何责任。 使用本软件所产生的风险,需由您自行承担。