IFunctionalAstrolabe class abstract

Implemented types
Implementers

Constructors

IFunctionalAstrolabe.new()

Properties

body StarName
身主
getter/setter pairinherited
chineseDate String
干支纪年日期
getter/setter pairinherited
版权
getter/setter pairinherited
earthlyBranchOfBodyPalace EarthlyBranchName
身宫地支
getter/setter pairinherited
earthlyBranchOfSoulPalace EarthlyBranchName
命宫地支
getter/setter pairinherited
fiveElementClass FiveElementsFormat
五行局
getter/setter pairinherited
gender String
性别
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
lunarDate String
农历日期
getter/setter pairinherited
palaces List<IFunctionalPalace>
十二宫数据
getter/setter pairinherited
rawDates LunarDateObj
原始日期数据,用于今后内部方法试用
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sign String
星座
getter/setter pairinherited
solarDate String
阳历日期Z
getter/setter pairinherited
soul StarName
命主
getter/setter pairinherited
time String
时辰
getter/setter pairinherited
timeRage String
时辰对应的时间段
getter/setter pairinherited
zodiac String
生肖
getter/setter pairinherited

Methods

horoscope({required String date, int? timeIndex}) IFunctionalHoroscpoe
获取运限数据 阳历日期,默认位调用时的日期 时辰索引,默认位自动读取当前时间的时辰 return 运限数据
isSurrounded(dynamic indexOfPalace, List<StarName> stars) bool
判断某一个宫位三方四正是否包含目标星耀,必须要全部包含才会返回true index 宫位索引 starName 宫位名称 stars 星耀名称数组
isSurroundedOneOf(dynamic indexOfPalace, List<StarName> stars) bool
判断三方四正内是否有传入星耀的其中一个,只要命中一个就会返回true index 宫位索引 starName 宫位名称 stars 星耀名称数组
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notSurrounded(dynamic indexOfPalace, List<StarName> stars) bool
判断某一个宫位三方四正是否不含目标星耀,必须要全部都不在三方四正内含才会返回true index 宫位索引 starName 宫位名称 stars 星耀名称数组
palace(dynamic indexOfPalace) IFunctionalPalace?
获取星盘的某一个宫位, 通过宫位索引或者宫位名称都可以获取到, index 宫位索引 starName 宫位名称
star(StarName starName) IFunctionalStar?
通过星耀名称获取到当前星耀的对象实例 starName 星耀名称 return 星耀实例
surroundedPalaces(dynamic indexOfPalace) IFunctionlSurpalaces
获取三方四正宫位,所谓三方四正就是传入的目标宫位,以及其对宫位,财帛位和官禄位,总共四个宫位 通过宫位索引或者宫位名称获取 index 宫位索引 starName 宫位名称
toString() String
A string representation of this object.
inherited
use(Plugin plugin) → void
插件注入方法

Operators

operator ==(Object other) bool
The equality operator.
inherited