From 37c8b915c7e348e55c16bbd963b470de642e46ac Mon Sep 17 00:00:00 2001 From: jgzhou <996155731@qq.com> Date: Fri, 09 Apr 2021 02:01:41 +0000 Subject: [PATCH] 优化 --- Lunar/Lunar/Tool/Lunar.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Lunar/Lunar/Tool/Lunar.h b/Lunar/Lunar/Tool/Lunar.h index 4b98249..04a2525 100644 --- a/Lunar/Lunar/Tool/Lunar.h +++ b/Lunar/Lunar/Tool/Lunar.h @@ -164,6 +164,7 @@ + (instancetype)fromYmd:(NSInteger)lunarYear :(NSInteger)lunarMonth :(NSInteger)lunarDay; + (instancetype)fromYmdHms:(NSInteger)lunarYear :(NSInteger)lunarMonth :(NSInteger)lunarDay :(NSInteger)hour :(NSInteger)minute :(NSInteger)second; + (instancetype)fromDate:(NSDate *)date; ++ (instancetype)fromSolar:(Solar *)solar; + (CGFloat)nutationLon2:(CGFloat)t; + (CGFloat)eLon:(CGFloat)t :(NSInteger)n; + (CGFloat)gxcSunLon:(CGFloat)t; @@ -411,8 +412,8 @@ @property (nonatomic, assign) NSInteger BASE_DAY_GAN_ZHI_INDEX; @property (nonatomic, assign) NSInteger BASE_MONTH_ZHI_INDEX; @property (nonatomic, assign) NSInteger BASE_WEEK_INDEX; -@property (nonatomic, strong) NSArray *LEAP_MONTH_YEAR; -@property (nonatomic, strong) NSArray *LUNAR_MONTH; +@property (nonatomic, strong) NSArray *LEAP_MONTH_YEAR;// 闰年表 +@property (nonatomic, strong) NSArray *LUNAR_MONTH;// 闰月表 @property (nonatomic, strong) NSArray *XUN; @property (nonatomic, strong) NSArray *XUN_KONG; @property (nonatomic, strong) NSArray *LIU_YAO; -- Gitblit v1.9.1