fortel-ziweidoushu
Version:
紫微斗數排盤 Zi Wei Dou Shu
22 lines (21 loc) • 812 B
TypeScript
/// <reference types="node" />
import { Ground } from './ground';
import util from 'util';
declare class DayTimeGround {
index: number;
displayName: string;
ground: Ground;
hourStart: number;
hourEnd: number;
constructor(index: number, displayName: string, ground: Ground, hourStart: number, hourEnd: number);
toJSON(): string;
toString(): string;
[util.inspect.custom](depth: number, opts: any): string;
static get(i: number): DayTimeGround;
static getByName(name: string): DayTimeGround;
static getByStartHour(hour: number): DayTimeGround;
static getByHour(hour: number): DayTimeGround;
static values(): readonly Readonly<DayTimeGround>[];
}
declare const DAY_TIME_GROUNDS: readonly Readonly<DayTimeGround>[];
export { DayTimeGround, DAY_TIME_GROUNDS };