C# Class Dicom.Utility.DayOfWeekTimeRange

Afficher le fichier Open project: fo-dicom/mdcm Class Usage Examples

Méthodes publiques

Свойство Type Description
AlwaysActive DayOfWeekTimeRange
AlwaysInactive DayOfWeekTimeRange
EndOfDay System.DateTime
StartOfDay System.DateTime

Méthodes publiques

Méthode Description
Clone ( ) : DayOfWeekTimeRange
Contains ( System.DateTime time ) : bool
DayOfWeekTimeRange ( ) : System
DayOfWeekTimeRange ( bool active ) : System
IsActiveAt ( System.DateTime time ) : bool
IsActiveNow ( ) : bool
NormalizeTime ( System.DateTime time ) : System.DateTime
Parse ( string daysOfWeek, string timeRanges, bool active ) : Dicom.Utility.DayOfWeekTimeRange[]
ParseDayOfWeek ( string day ) : DayOfWeek
ParseTime ( string time ) : System.DateTime
SetDayOfWeek ( DayOfWeek day, bool active ) : void
SetDaysOfWeek ( DayOfWeek begin, DayOfWeek end, bool active ) : void

Method Details

Clone() public méthode

public Clone ( ) : DayOfWeekTimeRange
Résultat DayOfWeekTimeRange

Contains() public méthode

public Contains ( System.DateTime time ) : bool
time System.DateTime
Résultat bool

DayOfWeekTimeRange() public méthode

public DayOfWeekTimeRange ( ) : System
Résultat System

DayOfWeekTimeRange() public méthode

public DayOfWeekTimeRange ( bool active ) : System
active bool
Résultat System

IsActiveAt() public méthode

public IsActiveAt ( System.DateTime time ) : bool
time System.DateTime
Résultat bool

IsActiveNow() public méthode

public IsActiveNow ( ) : bool
Résultat bool

NormalizeTime() public static méthode

public static NormalizeTime ( System.DateTime time ) : System.DateTime
time System.DateTime
Résultat System.DateTime

Parse() public static méthode

public static Parse ( string daysOfWeek, string timeRanges, bool active ) : Dicom.Utility.DayOfWeekTimeRange[]
daysOfWeek string
timeRanges string
active bool
Résultat Dicom.Utility.DayOfWeekTimeRange[]

ParseDayOfWeek() public static méthode

public static ParseDayOfWeek ( string day ) : DayOfWeek
day string
Résultat DayOfWeek

ParseTime() public static méthode

public static ParseTime ( string time ) : System.DateTime
time string
Résultat System.DateTime

SetDayOfWeek() public méthode

public SetDayOfWeek ( DayOfWeek day, bool active ) : void
day DayOfWeek
active bool
Résultat void

SetDaysOfWeek() public méthode

public SetDaysOfWeek ( DayOfWeek begin, DayOfWeek end, bool active ) : void
begin DayOfWeek
end DayOfWeek
active bool
Résultat void

Property Details

AlwaysActive public_oe static_oe property

public static DayOfWeekTimeRange,Dicom.Utility AlwaysActive
Résultat DayOfWeekTimeRange

AlwaysInactive public_oe static_oe property

public static DayOfWeekTimeRange,Dicom.Utility AlwaysInactive
Résultat DayOfWeekTimeRange

EndOfDay public_oe static_oe property

public static DateTime,System EndOfDay
Résultat System.DateTime

StartOfDay public_oe static_oe property

public static DateTime,System StartOfDay
Résultat System.DateTime