From 9020066ed6a364972ef7469569c5891670574193 Mon Sep 17 00:00:00 2001 From: mangxing Date: Mon, 20 Feb 2023 15:19:09 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=A2=9E=E5=8A=A0=E9=83=A8=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cronUtils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cronUtils.ts b/src/cronUtils.ts index ebcc7b4..9ac05b9 100644 --- a/src/cronUtils.ts +++ b/src/cronUtils.ts @@ -296,7 +296,7 @@ export class DayCron extends Cron { } } -class MonthCron extends Cron { +export class MonthCron extends Cron { readonly periodType = PeriodType.month; days = [] as string[]; @@ -390,7 +390,7 @@ class MonthCron extends Cron { } } -class WeekCron extends Cron { +export class WeekCron extends Cron { readonly periodType = PeriodType.week; weeks = [] as string[]; @@ -598,7 +598,7 @@ export class HourCron extends Cron { } } -class MinuteCron extends Cron { +export class MinuteCron extends Cron { readonly periodType = PeriodType.minute; beginTime?= Moment("00:00", "HH:mm");