Calendar objects have the following methods: - sets the link name for the calendar object. is the name of Wikipedia's article about the calendar, and is an optional display name for the article link. - sets the calendar link as raw wikitext. - gets the link value. - sets the year value for the calendar. can be a number or a string. - sets the year value for the calendar as a year range. Both and must be number values. - exports the calendar to wikitext. If no link value was found, this returns . If a link was found but no year value was found, the calendar is output with a value of for the year.