Skip to content

Commit

Permalink
doc: 更新注释文档
Browse files Browse the repository at this point in the history
  • Loading branch information
ArgoZhang committed Sep 28, 2024
1 parent a9ec98c commit 6efa64d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ private void ResetTimePickerPanel()
private bool Validate() => !IsDisabled(SelectValue);

/// <summary>
///
/// 获得安全的年数据
/// </summary>
/// <param name="dt"></param>
/// <param name="year"></param>
Expand Down Expand Up @@ -860,7 +860,7 @@ protected static DateTime GetSafeYearDateTime(DateTime dt, int year)
}

/// <summary>
///
/// 获得安全的日视图日期
/// </summary>
/// <param name="dt"></param>
/// <param name="day"></param>
Expand All @@ -877,15 +877,15 @@ protected static DateTime GetSafeDayDateTime(DateTime dt, int day)
}

/// <summary>
///
/// 判断日视图是否溢出方法
/// </summary>
/// <param name="dt"></param>
/// <param name="day"></param>
/// <returns></returns>
protected static bool IsDayOverflow(DateTime dt, int day) => DateTime.MaxValue.AddDays(0 - day) < dt;

/// <summary>
///
/// 判断年视图是否溢出方法
/// </summary>
/// <param name="dt"></param>
/// <param name="year"></param>
Expand Down

0 comments on commit 6efa64d

Please sign in to comment.