优化调整

This commit is contained in:
Falcon 2025-02-20 09:39:04 +08:00
parent e6101c0f6e
commit 690feef066

View File

@ -12,31 +12,31 @@ public class CronExpression
/// <summary>
/// 可选的秒范围枚举
/// </summary>
public List<int> Seconds { get; }
private List<int> Seconds { get; }
/// <summary>
/// 可选的分范围枚举
/// </summary>
public List<int> Minutes { get; }
private List<int> Minutes { get; }
/// <summary>
/// 可选的时范围枚举
/// </summary>
public List<int> Hours { get; }
private List<int> Hours { get; }
/// <summary>
/// 可选的天范围枚举
/// </summary>
public List<int> DaysOfMonth { get; }
private List<int> DaysOfMonth { get; }
/// <summary>
/// 可选的月范围枚举
/// </summary>
public List<int> Months { get; }
private List<int> Months { get; }
/// <summary>
/// 可选的星期范围枚举
/// </summary>
public List<int> DaysOfWeek { get; }
private List<int> DaysOfWeek { get; }
/// <summary>
/// 可选的年范围枚举
/// </summary>
public List<int> Years { get; set; }
private List<int> Years { get; set; }
/// <summary>
/// 通过提供cron表达式构造对象