---
id: "SimpleCalendar.api.LeapYearRules"
title: "Enumeration: LeapYearRules"
sidebar_label: "LeapYearRules"
custom_edit_url: null
pagination_next: null
pagination_prev: null
---

[SimpleCalendar](../namespaces/SimpleCalendar.md).[api](../namespaces/SimpleCalendar.api.md).LeapYearRules

The different rules used to determine when/if leap years happen

## Enumeration Members

### Custom

• **Custom** = ``"custom"``

Allows you to specify `n` interval in years for when a leap year happens

___

### Gregorian

• **Gregorian** = ``"gregorian"``

The calendars leap year rules are like the standard calendar (Every year that is exactly divisible by four is a leap year, except for years that are exactly divisible by 100, but these years are leap years if they are exactly divisible by 400)

___

### None

• **None** = ``"none"``

The calendar contains no leap years
