C# 클래스 Sappworks.Stocks.DateTimeExtensions

파일 보기 프로젝트 열기: bmsapp/sappworks.stocks.public

공개 메소드들

메소드 설명
Between ( this value, System.DateTime a, System.DateTime b ) : bool
ChristmasDay ( int year ) : System.DateTime
ChristmasEve ( int year ) : System.DateTime
DayAfterThanksgivingDay ( int year ) : System.DateTime
EasterSunday ( int year ) : System.DateTime
GoodFriday ( int year ) : System.DateTime
IndependenceDay ( int year ) : System.DateTime
IsTradingHour ( this value ) : bool
JulyThird ( int year ) : System.DateTime
LaborDay ( int year ) : System.DateTime
MartinLutherKingJrDay ( int year ) : System.DateTime

Third monday in January

MemorialDay ( int year ) : System.DateTime

Last monday in may

NewYearsDay ( int year ) : System.DateTime
Next ( this date, DayOfWeek dayOfWeek ) : System.DateTime
NthWeekdayOfMonth ( int year, int month, int nthWeek, DayOfWeek dayOfWeek ) : System.DateTime
PresidentsDay ( int year ) : System.DateTime

Third monday in February

ThanksgivingDay ( int year ) : System.DateTime

메소드 상세

Between() 공개 정적인 메소드

public static Between ( this value, System.DateTime a, System.DateTime b ) : bool
value this
a System.DateTime
b System.DateTime
리턴 bool

ChristmasDay() 공개 정적인 메소드

public static ChristmasDay ( int year ) : System.DateTime
year int
리턴 System.DateTime

ChristmasEve() 공개 정적인 메소드

public static ChristmasEve ( int year ) : System.DateTime
year int
리턴 System.DateTime

DayAfterThanksgivingDay() 공개 정적인 메소드

public static DayAfterThanksgivingDay ( int year ) : System.DateTime
year int
리턴 System.DateTime

EasterSunday() 공개 정적인 메소드

public static EasterSunday ( int year ) : System.DateTime
year int
리턴 System.DateTime

GoodFriday() 공개 정적인 메소드

public static GoodFriday ( int year ) : System.DateTime
year int
리턴 System.DateTime

IndependenceDay() 공개 정적인 메소드

public static IndependenceDay ( int year ) : System.DateTime
year int
리턴 System.DateTime

IsTradingHour() 공개 정적인 메소드

public static IsTradingHour ( this value ) : bool
value this
리턴 bool

JulyThird() 공개 정적인 메소드

public static JulyThird ( int year ) : System.DateTime
year int
리턴 System.DateTime

LaborDay() 공개 정적인 메소드

public static LaborDay ( int year ) : System.DateTime
year int
리턴 System.DateTime

MartinLutherKingJrDay() 공개 정적인 메소드

Third monday in January
public static MartinLutherKingJrDay ( int year ) : System.DateTime
year int
리턴 System.DateTime

MemorialDay() 공개 정적인 메소드

Last monday in may
public static MemorialDay ( int year ) : System.DateTime
year int
리턴 System.DateTime

NewYearsDay() 공개 정적인 메소드

public static NewYearsDay ( int year ) : System.DateTime
year int
리턴 System.DateTime

Next() 공개 정적인 메소드

public static Next ( this date, DayOfWeek dayOfWeek ) : System.DateTime
date this
dayOfWeek DayOfWeek
리턴 System.DateTime

NthWeekdayOfMonth() 공개 정적인 메소드

public static NthWeekdayOfMonth ( int year, int month, int nthWeek, DayOfWeek dayOfWeek ) : System.DateTime
year int
month int
nthWeek int
dayOfWeek DayOfWeek
리턴 System.DateTime

PresidentsDay() 공개 정적인 메소드

Third monday in February
public static PresidentsDay ( int year ) : System.DateTime
year int
리턴 System.DateTime

ThanksgivingDay() 공개 정적인 메소드

public static ThanksgivingDay ( int year ) : System.DateTime
year int
리턴 System.DateTime