C# 클래스 DevUtils.DateTimeExtensions.Utils

Date urils class
파일 보기 프로젝트 열기: jornfilho/.net-Dev-Utils

공개 메소드들

메소드 설명
AddBusinessDays ( this date, int days ) : System.DateTime

Add business days on a DateTime

AddBusinessDays ( this date, int days, DayOfWeek businessDays ) : System.DateTime

Add business days on a DateTime

EndOfBusinessMonth ( Month month, int year ) : System.DateTime

Get end of month from year/month

EndOfBusinessMonth ( Month month, int year, DayOfWeek businessDays ) : System.DateTime

Get end of month from year/month

EndOfBusinessMonth ( this date ) : System.DateTime

Get end of business month

EndOfBusinessMonth ( this date, DayOfWeek businessDays ) : System.DateTime

Get end of business month

EndOfBusinessWeek ( this date ) : System.DateTime

Get end of business week

EndOfBusinessWeek ( this date, DayOfWeek lastBusinessDay ) : System.DateTime

Get end of business week

EndOfBusinessYear ( int year ) : System.DateTime

Get end of business year

EndOfBusinessYear ( int year, DayOfWeek businessDays ) : System.DateTime

Get end of business year

EndOfBusinessYear ( this date ) : System.DateTime

Get end of business year

EndOfBusinessYear ( this date, DayOfWeek businessDays ) : System.DateTime

Get end of business year

EndOfDay ( this date ) : System.DateTime

Get end of day

EndOfMonth ( Month month, int year ) : System.DateTime

Get end of month from year/month

EndOfMonth ( this date ) : System.DateTime

Get end of month

EndOfWeek ( this date ) : System.DateTime

Get end of week

EndOfWeek ( this date, DayOfWeek lastDay ) : System.DateTime

Get end of week

EndOfYear ( int year ) : System.DateTime

Get end of year

EndOfYear ( this date ) : System.DateTime

Get end of year

RemoveBusinessDays ( this date, int days ) : System.DateTime

Remove business days on a DateTime

RemoveBusinessDays ( this date, int days, DayOfWeek businessDays ) : System.DateTime

Remove business days on a DateTime

SetDate ( this date, int year, int month, int day ) : System.DateTime

Set date of datetime

SetDay ( this date, int day ) : System.DateTime

Set day of date

SetHour ( this date, int hour ) : System.DateTime

Set hour of date

SetMillisecond ( this date, int millisecond ) : System.DateTime

Set millisecond of date

SetMinute ( this date, int minute ) : System.DateTime

Set minute of date

SetMonth ( this date, int month ) : System.DateTime

Set month of date

SetSecond ( this date, int second ) : System.DateTime

Set second of date

SetTime ( this date, int hour, int minute ) : System.DateTime

Set time of date

SetTime ( this date, int hour, int minute, int second ) : System.DateTime

Set time of date

SetTime ( this date, int hour, int minute, int second, int millisecond ) : System.DateTime

Set time of date

SetYear ( this date, int year ) : System.DateTime

Set year of date

StartOfBusinessMonth ( Month month, int year ) : System.DateTime

Get start of month from year/month

StartOfBusinessMonth ( Month month, int year, DayOfWeek businessDays ) : System.DateTime

Get start of month from year/month

StartOfBusinessMonth ( this date ) : System.DateTime

Get start of business month

StartOfBusinessMonth ( this date, DayOfWeek businessDays ) : System.DateTime

Get start of business month

StartOfBusinessWeek ( this date ) : System.DateTime

Get start of business week

StartOfBusinessWeek ( this date, DayOfWeek firstBusinessDay ) : System.DateTime

Get start of business week

StartOfBusinessYear ( int year ) : System.DateTime

Get start of business year

StartOfBusinessYear ( int year, DayOfWeek businessDays ) : System.DateTime

Get start of business year

StartOfBusinessYear ( this date ) : System.DateTime

Get start of business year

StartOfBusinessYear ( this date, DayOfWeek businessDays ) : System.DateTime

Get start of business year

StartOfDay ( this date ) : System.DateTime

Get start of day

StartOfMonth ( Month month, int year ) : System.DateTime

Get start of month from year/month

StartOfMonth ( this date ) : System.DateTime

Get start of month

StartOfWeek ( this date ) : System.DateTime

Get start of week

StartOfWeek ( this date, DayOfWeek firstDay ) : System.DateTime

Get start of week

StartOfYear ( int year ) : System.DateTime

Get start of year

StartOfYear ( this date ) : System.DateTime

Get start of year

메소드 상세

AddBusinessDays() 공개 정적인 메소드

Add business days on a DateTime
public static AddBusinessDays ( this date, int days ) : System.DateTime
date this Date to add days
days int Days to add
리턴 System.DateTime

AddBusinessDays() 공개 정적인 메소드

Add business days on a DateTime
public static AddBusinessDays ( this date, int days, DayOfWeek businessDays ) : System.DateTime
date this Date to add days
days int Days to add
businessDays DayOfWeek Business days
리턴 System.DateTime

EndOfBusinessMonth() 공개 정적인 메소드

Get end of month from year/month
public static EndOfBusinessMonth ( Month month, int year ) : System.DateTime
month Month month reference
year int year reference
리턴 System.DateTime

EndOfBusinessMonth() 공개 정적인 메소드

Get end of month from year/month
public static EndOfBusinessMonth ( Month month, int year, DayOfWeek businessDays ) : System.DateTime
month Month month reference
year int year reference
businessDays DayOfWeek business days list
리턴 System.DateTime

EndOfBusinessMonth() 공개 정적인 메소드

Get end of business month
public static EndOfBusinessMonth ( this date ) : System.DateTime
date this base date
리턴 System.DateTime

EndOfBusinessMonth() 공개 정적인 메소드

Get end of business month
public static EndOfBusinessMonth ( this date, DayOfWeek businessDays ) : System.DateTime
date this base date
businessDays DayOfWeek business days list
리턴 System.DateTime

EndOfBusinessWeek() 공개 정적인 메소드

Get end of business week
public static EndOfBusinessWeek ( this date ) : System.DateTime
date this base date
리턴 System.DateTime

EndOfBusinessWeek() 공개 정적인 메소드

Get end of business week
public static EndOfBusinessWeek ( this date, DayOfWeek lastBusinessDay ) : System.DateTime
date this base date
lastBusinessDay DayOfWeek last week business day
리턴 System.DateTime

EndOfBusinessYear() 공개 정적인 메소드

Get end of business year
public static EndOfBusinessYear ( int year ) : System.DateTime
year int reference year
리턴 System.DateTime

EndOfBusinessYear() 공개 정적인 메소드

Get end of business year
public static EndOfBusinessYear ( int year, DayOfWeek businessDays ) : System.DateTime
year int reference year
businessDays DayOfWeek business days list
리턴 System.DateTime

EndOfBusinessYear() 공개 정적인 메소드

Get end of business year
public static EndOfBusinessYear ( this date ) : System.DateTime
date this base date
리턴 System.DateTime

EndOfBusinessYear() 공개 정적인 메소드

Get end of business year
public static EndOfBusinessYear ( this date, DayOfWeek businessDays ) : System.DateTime
date this base date
businessDays DayOfWeek business days list
리턴 System.DateTime

EndOfDay() 공개 정적인 메소드

Get end of day
public static EndOfDay ( this date ) : System.DateTime
date this base date
리턴 System.DateTime

EndOfMonth() 공개 정적인 메소드

Get end of month from year/month
public static EndOfMonth ( Month month, int year ) : System.DateTime
month Month month reference
year int year reference
리턴 System.DateTime

EndOfMonth() 공개 정적인 메소드

Get end of month
public static EndOfMonth ( this date ) : System.DateTime
date this base date
리턴 System.DateTime

EndOfWeek() 공개 정적인 메소드

Get end of week
public static EndOfWeek ( this date ) : System.DateTime
date this base date
리턴 System.DateTime

EndOfWeek() 공개 정적인 메소드

Get end of week
public static EndOfWeek ( this date, DayOfWeek lastDay ) : System.DateTime
date this base date
lastDay DayOfWeek last week day
리턴 System.DateTime

EndOfYear() 공개 정적인 메소드

Get end of year
public static EndOfYear ( int year ) : System.DateTime
year int reference year
리턴 System.DateTime

EndOfYear() 공개 정적인 메소드

Get end of year
public static EndOfYear ( this date ) : System.DateTime
date this base date
리턴 System.DateTime

RemoveBusinessDays() 공개 정적인 메소드

Remove business days on a DateTime
public static RemoveBusinessDays ( this date, int days ) : System.DateTime
date this Date to remove days
days int Days to remove
리턴 System.DateTime

RemoveBusinessDays() 공개 정적인 메소드

Remove business days on a DateTime
public static RemoveBusinessDays ( this date, int days, DayOfWeek businessDays ) : System.DateTime
date this Date to remove days
days int Days to remove
businessDays DayOfWeek Business days
리턴 System.DateTime

SetDate() 공개 정적인 메소드

Set date of datetime
public static SetDate ( this date, int year, int month, int day ) : System.DateTime
date this Date to set date
year int Year to set
month int Month to set
day int Day to set
리턴 System.DateTime

SetDay() 공개 정적인 메소드

Set day of date
public static SetDay ( this date, int day ) : System.DateTime
date this Date to set date
day int Day to set
리턴 System.DateTime

SetHour() 공개 정적인 메소드

Set hour of date
public static SetHour ( this date, int hour ) : System.DateTime
date this Date to set time
hour int Hours to set
리턴 System.DateTime

SetMillisecond() 공개 정적인 메소드

Set millisecond of date
public static SetMillisecond ( this date, int millisecond ) : System.DateTime
date this Date to set time
millisecond int Millisecond to set
리턴 System.DateTime

SetMinute() 공개 정적인 메소드

Set minute of date
public static SetMinute ( this date, int minute ) : System.DateTime
date this Date to set time
minute int Minute to set
리턴 System.DateTime

SetMonth() 공개 정적인 메소드

Set month of date
public static SetMonth ( this date, int month ) : System.DateTime
date this Date to set date
month int Month to set
리턴 System.DateTime

SetSecond() 공개 정적인 메소드

Set second of date
public static SetSecond ( this date, int second ) : System.DateTime
date this Date to set time
second int Second to set
리턴 System.DateTime

SetTime() 공개 정적인 메소드

Set time of date
public static SetTime ( this date, int hour, int minute ) : System.DateTime
date this Date to add time
hour int Hours to add
minute int Minutes to add
리턴 System.DateTime

SetTime() 공개 정적인 메소드

Set time of date
public static SetTime ( this date, int hour, int minute, int second ) : System.DateTime
date this Date to add time
hour int Hours to add
minute int Minutes to add
second int Seconds to add
리턴 System.DateTime

SetTime() 공개 정적인 메소드

Set time of date
public static SetTime ( this date, int hour, int minute, int second, int millisecond ) : System.DateTime
date this Date to add time
hour int Hours to add
minute int Minutes to add
second int Seconds to add
millisecond int Milliseconds to add
리턴 System.DateTime

SetYear() 공개 정적인 메소드

Set year of date
public static SetYear ( this date, int year ) : System.DateTime
date this Date to set date
year int Year to set
리턴 System.DateTime

StartOfBusinessMonth() 공개 정적인 메소드

Get start of month from year/month
public static StartOfBusinessMonth ( Month month, int year ) : System.DateTime
month Month month reference
year int year reference
리턴 System.DateTime

StartOfBusinessMonth() 공개 정적인 메소드

Get start of month from year/month
public static StartOfBusinessMonth ( Month month, int year, DayOfWeek businessDays ) : System.DateTime
month Month month reference
year int year reference
businessDays DayOfWeek business days list
리턴 System.DateTime

StartOfBusinessMonth() 공개 정적인 메소드

Get start of business month
public static StartOfBusinessMonth ( this date ) : System.DateTime
date this base date
리턴 System.DateTime

StartOfBusinessMonth() 공개 정적인 메소드

Get start of business month
public static StartOfBusinessMonth ( this date, DayOfWeek businessDays ) : System.DateTime
date this base date
businessDays DayOfWeek business days list
리턴 System.DateTime

StartOfBusinessWeek() 공개 정적인 메소드

Get start of business week
public static StartOfBusinessWeek ( this date ) : System.DateTime
date this base date
리턴 System.DateTime

StartOfBusinessWeek() 공개 정적인 메소드

Get start of business week
public static StartOfBusinessWeek ( this date, DayOfWeek firstBusinessDay ) : System.DateTime
date this base date
firstBusinessDay DayOfWeek first week business day
리턴 System.DateTime

StartOfBusinessYear() 공개 정적인 메소드

Get start of business year
public static StartOfBusinessYear ( int year ) : System.DateTime
year int year reference
리턴 System.DateTime

StartOfBusinessYear() 공개 정적인 메소드

Get start of business year
public static StartOfBusinessYear ( int year, DayOfWeek businessDays ) : System.DateTime
year int year reference
businessDays DayOfWeek business days list
리턴 System.DateTime

StartOfBusinessYear() 공개 정적인 메소드

Get start of business year
public static StartOfBusinessYear ( this date ) : System.DateTime
date this base date
리턴 System.DateTime

StartOfBusinessYear() 공개 정적인 메소드

Get start of business year
public static StartOfBusinessYear ( this date, DayOfWeek businessDays ) : System.DateTime
date this base date
businessDays DayOfWeek business days list
리턴 System.DateTime

StartOfDay() 공개 정적인 메소드

Get start of day
public static StartOfDay ( this date ) : System.DateTime
date this base date
리턴 System.DateTime

StartOfMonth() 공개 정적인 메소드

Get start of month from year/month
public static StartOfMonth ( Month month, int year ) : System.DateTime
month Month month reference
year int year reference
리턴 System.DateTime

StartOfMonth() 공개 정적인 메소드

Get start of month
public static StartOfMonth ( this date ) : System.DateTime
date this base date
리턴 System.DateTime

StartOfWeek() 공개 정적인 메소드

Get start of week
public static StartOfWeek ( this date ) : System.DateTime
date this base date
리턴 System.DateTime

StartOfWeek() 공개 정적인 메소드

Get start of week
public static StartOfWeek ( this date, DayOfWeek firstDay ) : System.DateTime
date this base date
firstDay DayOfWeek first week day
리턴 System.DateTime

StartOfYear() 공개 정적인 메소드

Get start of year
public static StartOfYear ( int year ) : System.DateTime
year int year reference
리턴 System.DateTime

StartOfYear() 공개 정적인 메소드

Get start of year
public static StartOfYear ( this date ) : System.DateTime
date this base date
리턴 System.DateTime