C# Class Appointment, csharp

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

Public Methods

Method 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 method

public static GetAlertTime ( DateTime appointment, AlertLevel alertLevel ) : DateTime
appointment DateTime
alertLevel AlertLevel
return DateTime

HasDaylightSavingChanged() public static method

public static HasDaylightSavingChanged ( DateTime dt, Location location ) : bool
dt DateTime
location Location
return bool

NormalizeDateTime() public static method

public static NormalizeDateTime ( string dtStr, Location location ) : DateTime
dtStr string
location Location
return DateTime

Schedule() public static method

public static Schedule ( string appointmentDateDescription, Location location ) : DateTime
appointmentDateDescription string
location Location
return DateTime

ShowLocalTime() public static method

public static ShowLocalTime ( DateTime dtUtc ) : DateTime
dtUtc DateTime
return DateTime