C# Class Dicom.Utility.ActiveSchedule

显示文件 Open project: fo-dicom/mdcm

Public Methods

Method Description
ActiveSchedule ( ) : System
AddTimeRange ( DayOfWeekTimeRange range ) : void
AddTimeRange ( string daysOfWeek, string timeRanges, bool active ) : void
IsActiveAt ( System.DateTime time ) : bool
IsActiveNow ( ) : bool

Method Details

ActiveSchedule() public method

public ActiveSchedule ( ) : System
return System

AddTimeRange() public method

public AddTimeRange ( DayOfWeekTimeRange range ) : void
range DayOfWeekTimeRange
return void

AddTimeRange() public method

public AddTimeRange ( string daysOfWeek, string timeRanges, bool active ) : void
daysOfWeek string
timeRanges string
active bool
return void

IsActiveAt() public method

public IsActiveAt ( System.DateTime time ) : bool
time System.DateTime
return bool

IsActiveNow() public method

public IsActiveNow ( ) : bool
return bool