EastAsianLunisolarCalendar.GetDayOfWeek(DateTime) 方法

定义

计算指定日期中的周中日期。Calculates the day of the week in the specified date.

public:
 override DayOfWeek GetDayOfWeek(DateTime time);
public override DayOfWeek GetDayOfWeek (DateTime time);
override this.GetDayOfWeek : DateTime -> DayOfWeek
Public Overrides Function GetDayOfWeek (time As DateTime) As DayOfWeek

参数

time
DateTime

要读取的 DateTimeThe DateTime to read.

返回

DayOfWeek 值之一,用于表示 time 参数中指定的周中日期。One of the DayOfWeek values that represents the day of the week specified in the time parameter.

异常

适用于