UNPKG

@drewsonne/maya-dates

Version:

Typescript package to manipulate dates in the Maya Calendar

14 lines (13 loc) 656 B
import { CommentWrapper } from "../comment-wrapper"; import { IPart } from "../i-part"; import DistanceNumber from "../lc/distance-number"; import ILongcount from "./ILongcount"; import { Wildcard } from "../wildcard"; export default abstract class LongcountOperation extends CommentWrapper implements IPart { abstract equal(other: any): boolean; protected readonly a: DistanceNumber; protected readonly b: DistanceNumber; protected readonly LcClass: ILongcount; constructor(lcClass: ILongcount, a: DistanceNumber, b: DistanceNumber); protected buildOperationComponents(): [(number | Wildcard)[], (number | Wildcard)[], boolean]; }