@drewsonne/maya-dates / Exports / LongCountWildcard
Expand a LongCount containing wildcards into all valid dates.
↳ LongCountWildcard
• new LongCountWildcard(lc)
| Name | Type | Description |
|---|---|---|
lc |
LongCount |
Partial Long Count to expand. |
operations/longcount-wildcard.ts:14
• comment: Comment
Attached comment.
• Private Readonly lc: LongCount
operations/longcount-wildcard.ts:9
▸ 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/longcount-wildcard.ts:19
▸ equalWithComment(otherCommentWrapper): boolean
Check equality including the associated comment.
| Name | Type |
|---|---|
otherCommentWrapper |
IPart |
boolean
CommentWrapper.equalWithComment
▸ run(): LongCount[]
Generate all fully qualified Long Counts matching the pattern.
operations/longcount-wildcard.ts:29
▸ setComment(comment): any
Replace the current comment.
| Name | Type |
|---|---|
comment |
string | Comment |
any