C# Class Appointment, csharp

Category ดำรงตำแหน่ง รักษาราชการ
Afficher le fichier Open project: exercism/csharp Class Usage Examples

Méthodes publiques

Méthode Description
GetAlertTime ( DateTime appointment, AlertLevel alertLevel ) : DateTime
HasDaylightSavingChanged ( DateTime dt, Location location ) : bool
NormalizeDateTime ( string dtStr, Location location ) : DateTime
Schedule ( string appointmentDateDescription, Location location ) : DateTime
ShowLocalTime ( DateTime dtUtc ) : DateTime

Method Details

GetAlertTime() public static méthode

public static GetAlertTime ( DateTime appointment, AlertLevel alertLevel ) : DateTime
appointment DateTime
alertLevel AlertLevel
Résultat DateTime

HasDaylightSavingChanged() public static méthode

public static HasDaylightSavingChanged ( DateTime dt, Location location ) : bool
dt DateTime
location Location
Résultat bool

NormalizeDateTime() public static méthode

public static NormalizeDateTime ( string dtStr, Location location ) : DateTime
dtStr string
location Location
Résultat DateTime

Schedule() public static méthode

public static Schedule ( string appointmentDateDescription, Location location ) : DateTime
appointmentDateDescription string
location Location
Résultat DateTime

ShowLocalTime() public static méthode

public static ShowLocalTime ( DateTime dtUtc ) : DateTime
dtUtc DateTime
Résultat DateTime