C# 클래스 Aura.Mabi.ErinnTime

파일 보기 프로젝트 열기: aura-project/aura 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BeginOfTime System.DateTime

보호된 프로퍼티들

프로퍼티 타입 설명
_months string[]

공개 메소드들

메소드 설명
ErinnTime ( ) : System

Creates new instance, based on DateTime.Now.

ErinnTime ( System.DateTime dt ) : System

Creates new instance, based on given DateTime.

GetLastSaturday ( ) : System.DateTime

Returns the DateTime for last Saturday at 12:00.

GetNextTime ( System.DateTime now, int hour, int minute ) : ErinnTime

Returns an instance of ErinnTime that's set to the next time the given hour and minute is.

GetNextTime ( int hour, int minute ) : ErinnTime

Returns an instance of ErinnTime that's set to the next time the given hour and minute is.

SetMonthNames ( string imbolic, string albanEiler, string baltane, string albanHeruin, string lughnasadh, string albanElved, string samhain ) : void

Sets month names used in formatting for all instances of ErinnTime.

ToString ( ) : string

Returns a string with the Erinn time of this instance in AM/PM.

ToString ( string format ) : string

Returns a string with the Erinn time of this instance.

메소드 상세

ErinnTime() 공개 메소드

Creates new instance, based on DateTime.Now.
public ErinnTime ( ) : System
리턴 System

ErinnTime() 공개 메소드

Creates new instance, based on given DateTime.
public ErinnTime ( System.DateTime dt ) : System
dt System.DateTime
리턴 System

GetLastSaturday() 공개 메소드

Returns the DateTime for last Saturday at 12:00.
public GetLastSaturday ( ) : System.DateTime
리턴 System.DateTime

GetNextTime() 공개 정적인 메소드

Returns an instance of ErinnTime that's set to the next time the given hour and minute is.
public static GetNextTime ( System.DateTime now, int hour, int minute ) : ErinnTime
now System.DateTime
hour int
minute int
리턴 ErinnTime

GetNextTime() 공개 정적인 메소드

Returns an instance of ErinnTime that's set to the next time the given hour and minute is.
public static GetNextTime ( int hour, int minute ) : ErinnTime
hour int
minute int
리턴 ErinnTime

SetMonthNames() 공개 정적인 메소드

Sets month names used in formatting for all instances of ErinnTime.
public static SetMonthNames ( string imbolic, string albanEiler, string baltane, string albanHeruin, string lughnasadh, string albanElved, string samhain ) : void
imbolic string Sunday
albanEiler string Monday
baltane string Tuesday
albanHeruin string Wednesday
lughnasadh string Thursday
albanElved string Friday
samhain string Saturday
리턴 void

ToString() 공개 메소드

Returns a string with the Erinn time of this instance in AM/PM.
public ToString ( ) : string
리턴 string

ToString() 공개 메소드

Returns a string with the Erinn time of this instance.
public ToString ( string format ) : string
format string
리턴 string

프로퍼티 상세

BeginOfTime 공개적으로 정적으로 프로퍼티

Release of KR.
public static DateTime,System BeginOfTime
리턴 System.DateTime

_months 보호되어 있는 정적으로 프로퍼티

Erinn months, starting on Imbolic (Sunday).
protected static string[] _months
리턴 string[]