🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::LongDuration类 参考

#include <Duration.hpp>

Public 成员函数

int64_t integer () const
 
int64_t & integer ()
 
double fractional () const
 
double & fractional ()
 
double operator- (const LongDuration &other) const
 
double minusInSecond (const LongDuration &other) const
 
double minusInMinute (const LongDuration &other) const
 
double minusInHour (const LongDuration &other) const
 
double minusInDay (const LongDuration &other) const
 

Public 属性

int64_t integer_
 
double fractional_
 

详细描述

长时长

成员函数说明

◆ minusInDay()

double ast::LongDuration::minusInDay ( const LongDuration & other) const
inline

时长减法方法(天)

参数
other另一个时长
返回
两个时长的差值(天数)

◆ minusInMinute()

double ast::LongDuration::minusInMinute ( const LongDuration & other) const
inline

时长减法方法(分钟)

参数
other另一个时长
返回
两个时长的差值(分钟数)

◆ minusInSecond()

double ast::LongDuration::minusInSecond ( const LongDuration & other) const
inline

时长减法方法(秒)

参数
other另一个时长
返回
两个时长的差值(秒数)

◆ operator-()

double ast::LongDuration::operator- ( const LongDuration & other) const
inline

时长减法运算符

参数
other另一个时长
返回
两个时长的差值(秒数)

该类的文档由以下文件生成: