메소드 | 설명 | |
---|---|---|
CardDate ( System.DateTime dateTime ) : System |
Initializes a new instance of the CardDate class based on the provided dateTime.
|
|
CardDate ( int month, int year ) : System |
Construct a new CardDate based on the specified month and year.
|
|
Parse ( string dateString ) : |
Converts a string representation of a card expiry date into a valid CardDate instance.
|
|
ToString ( ) : string |
Returns a T:System.String that represents the current T:System.Object.
|
|
ToString ( string separator ) : string |
Returns a System.String that represents this instance, formatted with the separator.
|
public CardDate ( System.DateTime dateTime ) : System | ||
dateTime | System.DateTime | The date time. |
리턴 | System |
public CardDate ( int month, int year ) : System | ||
month | int | The month, as a number between 1 (January) and 12 (December) |
year | int | The year. Values below |
리턴 | System |
public static Parse ( string dateString ) : |
||
dateString | string | A string containing a date in the format "MMYY" or "MM/YY" |
리턴 |
public ToString ( string separator ) : string | ||
separator | string | The separator. |
리턴 | string |