System.Globalization.JapaneseCalendar.IsLeapMonth Method

Determines whether the specified month in the specified year in the specified era is a leap month.

Syntax

public override bool IsLeapMonth (int year, int month, int era)

Parameters

year
An integer that represents the year.
month
An integer from 1 to 12 that represents the month.
era
An integer that represents the era.

Returns

This method always returns false, unless overridden by a derived class.

Remarks

Leap years in the Japanese calendar correspond to the same leap years in the Gregorian calendar. A leap year in the Gregorian calendar is defined as a Gregorian year that is evenly divisible by four, except if it is divisible by 100. However, Gregorian years that are divisible by 400 are leap years. A common year has 365 days and a leap year has 366 days.

A leap month is an entire month that occurs only in a leap year. The Japanese calendar does not have any leap months.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0