Editare

Partajați prin


EastAsianLunisolarCalendar.GetYear(DateTime) Method

Definition

Returns the year in the specified date.

public:
 override int GetYear(DateTime time);
public override int GetYear (DateTime time);
override this.GetYear : DateTime -> int
Public Overrides Function GetYear (time As DateTime) As Integer

Parameters

time
DateTime

The DateTime to read.

Returns

An integer that represents the year in the specified DateTime.

Applies to