@drewsonne/maya-dates / Exports / FullDateWildcard
Expand a partial FullDate into all valid permutations.
↳ FullDateWildcard
• new FullDateWildcard(partialDate)
| Name | Type |
|---|---|
partialDate |
FullDate |
operations/fulldate-wildcard.ts:13
• comment: Comment
Attached comment.
• Private Readonly fullDate: FullDate
operations/fulldate-wildcard.ts:11
▸ appendComment(comment): any
Append additional text to the current comment.
| Name | Type |
|---|---|
comment |
string | Comment |
any
▸ commentIsEqual(otherCommentWrapper): boolean
Compare this wrapper’s comment against another wrapper.
| Name | Type |
|---|---|
otherCommentWrapper |
CommentWrapper |
boolean
▸ equal(other): boolean
Compare this object with another for equality.
| Name | Type |
|---|---|
other |
IPart |
boolean
operations/fulldate-wildcard.ts:18
▸ equalWithComment(otherCommentWrapper): boolean
Check equality including the associated comment.
| Name | Type |
|---|---|
otherCommentWrapper |
IPart |
boolean
CommentWrapper.equalWithComment
▸ run(): FullDate[]
Produce all fully qualified full dates.
FullDate[]
operations/fulldate-wildcard.ts:28
▸ setComment(comment): any
Replace the current comment.
| Name | Type |
|---|---|
comment |
string | Comment |
any
▸ toString(): string
string