C# 클래스 DRObjects.DataStructures.DivineRightDateTime

파일 보기 프로젝트 열기: Haedrian/Divine-Right 1 사용 예제들

공개 메소드들

메소드 설명
Add ( DRTimeComponent component, int value ) : void

Adds a time component to the total

DivineRightDateTime ( DivineRightDateTime oldTime ) : System

Creates a new DateTime having the same time as the passed one

DivineRightDateTime ( int year, int month, int day ) : System

Creates a new DRDateTime representing a particular year.

DivineRightDateTime ( int year, int month, int day, int hour, int minute, int seconds ) : System
DivineRightDateTime ( long time ) : System
GetDateString ( ) : string

Expresses the Date in [Dayth of Month, year]

GetMonthName ( ) : string

Returns the name of the current month

GetTimeComponent ( DRTimeComponent component ) : int

Gets some part of the time component based on the multiplier

SetTimeComponent ( DRTimeComponent component, int value ) : void

Sets a particular Time Component to a particular value. If the value is 'too large' it will trickle over

Subtract ( DRTimeComponent component, int value ) : void
operator ( ) : DivineRightDateTime

메소드 상세

Add() 공개 메소드

Adds a time component to the total
public Add ( DRTimeComponent component, int value ) : void
component DRTimeComponent
value int
리턴 void

DivineRightDateTime() 공개 메소드

Creates a new DateTime having the same time as the passed one
public DivineRightDateTime ( DivineRightDateTime oldTime ) : System
oldTime DivineRightDateTime
리턴 System

DivineRightDateTime() 공개 메소드

Creates a new DRDateTime representing a particular year.
public DivineRightDateTime ( int year, int month, int day ) : System
year int
month int
day int
리턴 System

DivineRightDateTime() 공개 메소드

public DivineRightDateTime ( int year, int month, int day, int hour, int minute, int seconds ) : System
year int
month int
day int
hour int
minute int
seconds int
리턴 System

DivineRightDateTime() 공개 메소드

public DivineRightDateTime ( long time ) : System
time long
리턴 System

GetDateString() 공개 메소드

Expresses the Date in [Dayth of Month, year]
public GetDateString ( ) : string
리턴 string

GetMonthName() 공개 메소드

Returns the name of the current month
public GetMonthName ( ) : string
리턴 string

GetTimeComponent() 공개 메소드

Gets some part of the time component based on the multiplier
public GetTimeComponent ( DRTimeComponent component ) : int
component DRTimeComponent
리턴 int

SetTimeComponent() 공개 메소드

Sets a particular Time Component to a particular value. If the value is 'too large' it will trickle over
public SetTimeComponent ( DRTimeComponent component, int value ) : void
component DRTimeComponent
value int
리턴 void

Subtract() 공개 메소드

public Subtract ( DRTimeComponent component, int value ) : void
component DRTimeComponent
value int
리턴 void

operator() 공개 정적인 메소드

public static operator ( ) : DivineRightDateTime
리턴 DivineRightDateTime