C# 클래스 Appointment, csharp

Category ดำรงตำแหน่ง รักษาราชการ
파일 보기 프로젝트 열기: exercism/csharp 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

GetAlertTime() 공개 정적인 메소드

public static GetAlertTime ( DateTime appointment, AlertLevel alertLevel ) : DateTime
appointment DateTime
alertLevel AlertLevel
리턴 DateTime

HasDaylightSavingChanged() 공개 정적인 메소드

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

NormalizeDateTime() 공개 정적인 메소드

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

Schedule() 공개 정적인 메소드

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

ShowLocalTime() 공개 정적인 메소드

public static ShowLocalTime ( DateTime dtUtc ) : DateTime
dtUtc DateTime
리턴 DateTime