Skip to main content

Wildcard

Defined in: wildcard.ts:14

Minimal interface used for equality comparison across calendar components.

Extends​

Implements​

Constructors​

Constructor​

new Wildcard(): Wildcard

Defined in: wildcard.ts:16

Returns​

Wildcard

Overrides​

CommentWrapper.constructor

Properties​

comment​

comment: Comment

Defined in: comment-wrapper.ts:11

Attached comment.

Inherited from​

CommentWrapper.comment

Methods​

appendComment()​

appendComment(comment): this

Defined in: comment-wrapper.ts:42

Append additional text to the current comment.

Parameters​

comment​

string | Comment

Returns​

this

Inherited from​

CommentWrapper.appendComment


commentIsEqual()​

commentIsEqual(otherCommentWrapper): boolean

Defined in: comment-wrapper.ts:60

Compare this wrapper's comment against another wrapper.

Parameters​

otherCommentWrapper​

CommentWrapper

Returns​

boolean

Inherited from​

CommentWrapper.commentIsEqual


equal()​

equal(other): boolean

Defined in: wildcard.ts:27

Compare this object with another for equality.

Parameters​

other​

IPart

Returns​

boolean

Implementation of​

IPart.equal


equalWithComment()​

equalWithComment(otherCommentWrapper): boolean

Defined in: comment-wrapper.ts:67

Check equality including the associated comment.

Parameters​

otherCommentWrapper​

IPart

Returns​

boolean

Inherited from​

CommentWrapper.equalWithComment


resetComment()​

resetComment(): this

Defined in: comment-wrapper.ts:20

Reset the current comment back to an empty comment.

Returns​

this

Inherited from​

CommentWrapper.resetComment


setComment()​

setComment(comment): this

Defined in: comment-wrapper.ts:28

Replace the current comment.

Parameters​

comment​

string | Comment

Returns​

this

Inherited from​

CommentWrapper.setComment


toString()​

toString(): string

Defined in: wildcard.ts:23

Render the wildcard as the character *.

Returns​

string