@drewsonne/maya-dates / Exports / CalendarRoundWildcard
Expand a Calendar Round containing wildcards into all valid combinations.
↳ CalendarRoundWildcard
• new CalendarRoundWildcard(cr)
| Name | Type | Description |
|---|---|---|
cr |
CalendarRound |
Calendar Round to expand. |
operations/calendar-round-wildcard.ts:20
• comment: Comment
Attached comment.
• Private Readonly cr: CalendarRound
operations/calendar-round-wildcard.ts:15
▸ 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/calendar-round-wildcard.ts:47
▸ equalWithComment(otherCommentWrapper): boolean
Check equality including the associated comment.
| Name | Type |
|---|---|
otherCommentWrapper |
IPart |
boolean
CommentWrapper.equalWithComment
▸ run(): CalendarRound[]
Generate all fully qualified Calendar Rounds matching the pattern.
operations/calendar-round-wildcard.ts:29
▸ setComment(comment): any
Replace the current comment.
| Name | Type |
|---|---|
comment |
string | Comment |
any