C# 클래스 SharpOS.Kernel.Foundation.GregorianCalendar

An implementation of the Gregorian calender that can translate between SharpOS timestamps and Gregorian dates, stored in the universal Time structure.
상속: ICalendar
파일 보기 프로젝트 열기: sharpos/SharpOS

공개 프로퍼티들

프로퍼티 타입 설명
debug bool

공개 메소드들

메소드 설명
AddSeconds ( Time time, int seconds ) : void
AddStrings ( Time time ) : void
DecodeTimestamp ( ulong timestamp, Time out_time ) : void
EncodeTimestamp ( Time time ) : ulong
GetDayOfWeek ( Time time ) : int
GetDayOfWeekString ( uint dayOfWeek ) : string
GetMonthString ( uint month ) : string
GetYearDays ( uint year ) : uint
IsLeapYear ( uint year ) : bool

비공개 메소드들

메소드 설명
GetMonthDays ( uint month ) : uint
GetMonthDays ( uint month, uint year ) : uint
GetMonthPseudoNumber ( uint month, uint year ) : int

메소드 상세

AddSeconds() 공개 메소드

public AddSeconds ( Time time, int seconds ) : void
time Time
seconds int
리턴 void

AddStrings() 공개 메소드

public AddStrings ( Time time ) : void
time Time
리턴 void

DecodeTimestamp() 공개 메소드

public DecodeTimestamp ( ulong timestamp, Time out_time ) : void
timestamp ulong
out_time Time
리턴 void

EncodeTimestamp() 공개 메소드

public EncodeTimestamp ( Time time ) : ulong
time Time
리턴 ulong

GetDayOfWeek() 공개 메소드

public GetDayOfWeek ( Time time ) : int
time Time
리턴 int

GetDayOfWeekString() 공개 메소드

public GetDayOfWeekString ( uint dayOfWeek ) : string
dayOfWeek uint
리턴 string

GetMonthString() 공개 메소드

public GetMonthString ( uint month ) : string
month uint
리턴 string

GetYearDays() 공개 메소드

public GetYearDays ( uint year ) : uint
year uint
리턴 uint

IsLeapYear() 공개 메소드

public IsLeapYear ( uint year ) : bool
year uint
리턴 bool

프로퍼티 상세

debug 공개적으로 프로퍼티

public bool debug
리턴 bool