C# Class ID3.ID3v2Frames.SDate

Provide a class to store date as string
Exibir arquivo Open project: jasine/SaveDouban

Public Methods

Method Description
SDate ( int Year, int Month, int Day ) : System

New SDate

SDate ( string DateString ) : System

New SDate

ToDateTime ( ) : System.DateTime

Convert current SDate to DateTime

ToString ( ) : string

Get Current SDate in format of yyyy/MM/dd

Private Methods

Method Description
SDate ( FileStreamEx Data ) : System

New SDate from specific FileStream

Method Details

SDate() public method

New SDate
public SDate ( int Year, int Month, int Day ) : System
Year int The Year (1-9999)
Month int The Month (1-12)
Day int The Day (1-31)
return System

SDate() public method

New SDate
public SDate ( string DateString ) : System
DateString string String contain Date in format of yyyy/MM/dd
return System

ToDateTime() public method

Convert current SDate to DateTime
public ToDateTime ( ) : System.DateTime
return System.DateTime

ToString() public method

Get Current SDate in format of yyyy/MM/dd
public ToString ( ) : string
return string