maya-dates

@drewsonne/maya-dates / Exports / FullDateWildcard

Class: FullDateWildcard

Expand a partial FullDate into all valid permutations.

Hierarchy

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new FullDateWildcard(partialDate)

Parameters

Name Type
partialDate FullDate

Overrides

CommentWrapper.constructor

Defined in

operations/fulldate-wildcard.ts:13

Properties

comment

comment: Comment

Attached comment.

Inherited from

CommentWrapper.comment

Defined in

comment-wrapper.ts:11


fullDate

Private Readonly fullDate: FullDate

Defined in

operations/fulldate-wildcard.ts:11

Methods

appendComment

appendComment(comment): any

Append additional text to the current comment.

Parameters

Name Type
comment string | Comment

Returns

any

Inherited from

CommentWrapper.appendComment

Defined in

comment-wrapper.ts:34


commentIsEqual

commentIsEqual(otherCommentWrapper): boolean

Compare this wrapper’s comment against another wrapper.

Parameters

Name Type
otherCommentWrapper CommentWrapper

Returns

boolean

Inherited from

CommentWrapper.commentIsEqual

Defined in

comment-wrapper.ts:52


equal

equal(other): boolean

Compare this object with another for equality.

Parameters

Name Type
other IPart

Returns

boolean

Implementation of

IPart.equal

Defined in

operations/fulldate-wildcard.ts:18


equalWithComment

equalWithComment(otherCommentWrapper): boolean

Check equality including the associated comment.

Parameters

Name Type
otherCommentWrapper IPart

Returns

boolean

Inherited from

CommentWrapper.equalWithComment

Defined in

comment-wrapper.ts:59


run

run(): FullDate[]

Produce all fully qualified full dates.

Returns

FullDate[]

Defined in

operations/fulldate-wildcard.ts:28


setComment

setComment(comment): any

Replace the current comment.

Parameters

Name Type
comment string | Comment

Returns

any

Inherited from

CommentWrapper.setComment

Defined in

comment-wrapper.ts:20


toString

toString(): string

Returns

string

Defined in

operations/fulldate-wildcard.ts:52