C# 클래스 Itenso.TimePeriod.TimeCalendar

상속: ITimeCalendar
파일 보기 프로젝트 열기: jwg4/date-difference 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultEndOffset System.TimeSpan
DefaultStartOffset System.TimeSpan

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
GetDayName ( DayOfWeek dayOfWeek ) : string
GetDayOfMonth ( System.DateTime time ) : int
GetDayOfWeek ( System.DateTime time ) : DayOfWeek
GetDaysInMonth ( int year, int month ) : int
GetHalfyearName ( YearHalfyear yearHalfyear ) : string
GetHalfyearOfYearName ( int year, YearHalfyear yearHalfyear ) : string
GetHashCode ( ) : int
GetHour ( System.DateTime time ) : int
GetMinute ( System.DateTime time ) : int
GetMonth ( System.DateTime time ) : int
GetMonthName ( int month ) : string
GetMonthOfYearName ( int year, int month ) : string
GetQuarterName ( YearQuarter yearQuarter ) : string
GetQuarterOfYearName ( int year, YearQuarter yearQuarter ) : string
GetStartOfYearWeek ( int year, int weekOfYear ) : System.DateTime
GetWeekOfYear ( System.DateTime time ) : int
GetWeekOfYearName ( int year, int weekOfYear ) : string
GetYear ( System.DateTime time ) : int
GetYearName ( int year ) : string
MapEnd ( System.DateTime moment ) : System.DateTime
MapStart ( System.DateTime moment ) : System.DateTime
New ( CultureInfo culture ) : TimeCalendar
New ( CultureInfo culture, System.TimeSpan startOffset, System.TimeSpan endOffset ) : TimeCalendar
New ( CultureInfo culture, YearMonth yearBaseMonth, YearWeekType yearWeekType ) : TimeCalendar
New ( System.TimeSpan startOffset, System.TimeSpan endOffset ) : TimeCalendar
New ( System.TimeSpan startOffset, System.TimeSpan endOffset, YearMonth yearBaseMonth ) : TimeCalendar
New ( YearMonth yearBaseMonth ) : TimeCalendar
NewEmptyOffset ( ) : TimeCalendar
TimeCalendar ( ) : System
TimeCalendar ( TimeCalendarConfig config ) : System
UnmapEnd ( System.DateTime moment ) : System.DateTime
UnmapStart ( System.DateTime moment ) : System.DateTime

보호된 메소드들

메소드 설명
ComputeHashCode ( ) : int
IsEqual ( object obj ) : bool

비공개 메소드들

메소드 설명
HasSameData ( TimeCalendar comp ) : bool

메소드 상세

ComputeHashCode() 보호된 메소드

protected ComputeHashCode ( ) : int
리턴 int

Equals() 공개 최종 메소드

public final Equals ( object obj ) : bool
obj object
리턴 bool

GetDayName() 공개 메소드

public GetDayName ( DayOfWeek dayOfWeek ) : string
dayOfWeek DayOfWeek
리턴 string

GetDayOfMonth() 공개 메소드

public GetDayOfMonth ( System.DateTime time ) : int
time System.DateTime
리턴 int

GetDayOfWeek() 공개 메소드

public GetDayOfWeek ( System.DateTime time ) : DayOfWeek
time System.DateTime
리턴 DayOfWeek

GetDaysInMonth() 공개 메소드

public GetDaysInMonth ( int year, int month ) : int
year int
month int
리턴 int

GetHalfyearName() 공개 메소드

public GetHalfyearName ( YearHalfyear yearHalfyear ) : string
yearHalfyear YearHalfyear
리턴 string

GetHalfyearOfYearName() 공개 메소드

public GetHalfyearOfYearName ( int year, YearHalfyear yearHalfyear ) : string
year int
yearHalfyear YearHalfyear
리턴 string

GetHashCode() 공개 최종 메소드

public final GetHashCode ( ) : int
리턴 int

GetHour() 공개 메소드

public GetHour ( System.DateTime time ) : int
time System.DateTime
리턴 int

GetMinute() 공개 메소드

public GetMinute ( System.DateTime time ) : int
time System.DateTime
리턴 int

GetMonth() 공개 메소드

public GetMonth ( System.DateTime time ) : int
time System.DateTime
리턴 int

GetMonthName() 공개 메소드

public GetMonthName ( int month ) : string
month int
리턴 string

GetMonthOfYearName() 공개 메소드

public GetMonthOfYearName ( int year, int month ) : string
year int
month int
리턴 string

GetQuarterName() 공개 메소드

public GetQuarterName ( YearQuarter yearQuarter ) : string
yearQuarter YearQuarter
리턴 string

GetQuarterOfYearName() 공개 메소드

public GetQuarterOfYearName ( int year, YearQuarter yearQuarter ) : string
year int
yearQuarter YearQuarter
리턴 string

GetStartOfYearWeek() 공개 메소드

public GetStartOfYearWeek ( int year, int weekOfYear ) : System.DateTime
year int
weekOfYear int
리턴 System.DateTime

GetWeekOfYear() 공개 메소드

public GetWeekOfYear ( System.DateTime time ) : int
time System.DateTime
리턴 int

GetWeekOfYearName() 공개 메소드

public GetWeekOfYearName ( int year, int weekOfYear ) : string
year int
weekOfYear int
리턴 string

GetYear() 공개 메소드

public GetYear ( System.DateTime time ) : int
time System.DateTime
리턴 int

GetYearName() 공개 메소드

public GetYearName ( int year ) : string
year int
리턴 string

IsEqual() 보호된 메소드

protected IsEqual ( object obj ) : bool
obj object
리턴 bool

MapEnd() 공개 메소드

public MapEnd ( System.DateTime moment ) : System.DateTime
moment System.DateTime
리턴 System.DateTime

MapStart() 공개 메소드

public MapStart ( System.DateTime moment ) : System.DateTime
moment System.DateTime
리턴 System.DateTime

New() 공개 정적인 메소드

public static New ( CultureInfo culture ) : TimeCalendar
culture System.Globalization.CultureInfo
리턴 TimeCalendar

New() 공개 정적인 메소드

public static New ( CultureInfo culture, System.TimeSpan startOffset, System.TimeSpan endOffset ) : TimeCalendar
culture System.Globalization.CultureInfo
startOffset System.TimeSpan
endOffset System.TimeSpan
리턴 TimeCalendar

New() 공개 정적인 메소드

public static New ( CultureInfo culture, YearMonth yearBaseMonth, YearWeekType yearWeekType ) : TimeCalendar
culture System.Globalization.CultureInfo
yearBaseMonth YearMonth
yearWeekType YearWeekType
리턴 TimeCalendar

New() 공개 정적인 메소드

public static New ( System.TimeSpan startOffset, System.TimeSpan endOffset ) : TimeCalendar
startOffset System.TimeSpan
endOffset System.TimeSpan
리턴 TimeCalendar

New() 공개 정적인 메소드

public static New ( System.TimeSpan startOffset, System.TimeSpan endOffset, YearMonth yearBaseMonth ) : TimeCalendar
startOffset System.TimeSpan
endOffset System.TimeSpan
yearBaseMonth YearMonth
리턴 TimeCalendar

New() 공개 정적인 메소드

public static New ( YearMonth yearBaseMonth ) : TimeCalendar
yearBaseMonth YearMonth
리턴 TimeCalendar

NewEmptyOffset() 공개 정적인 메소드

public static NewEmptyOffset ( ) : TimeCalendar
리턴 TimeCalendar

TimeCalendar() 공개 메소드

public TimeCalendar ( ) : System
리턴 System

TimeCalendar() 공개 메소드

public TimeCalendar ( TimeCalendarConfig config ) : System
config TimeCalendarConfig
리턴 System

UnmapEnd() 공개 메소드

public UnmapEnd ( System.DateTime moment ) : System.DateTime
moment System.DateTime
리턴 System.DateTime

UnmapStart() 공개 메소드

public UnmapStart ( System.DateTime moment ) : System.DateTime
moment System.DateTime
리턴 System.DateTime

프로퍼티 상세

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

public static TimeSpan,System DefaultEndOffset
리턴 System.TimeSpan

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

public static TimeSpan,System DefaultStartOffset
리턴 System.TimeSpan