Метод | Описание | |
---|---|---|
Convert ( object value, |
Converts a T:System.DateTime object into a string the represents the elapsed time relatively to the present.
|
|
ConvertBack ( object value, |
Not implemented.
|
Метод | Описание | |
---|---|---|
GetLastDayOfWeek ( DayOfWeek dow ) : string |
Returns a localized text string for the "ast" + "day of week as {0}".
|
|
GetOnDayOfWeek ( DayOfWeek dow ) : string |
Returns a localized text string to express "on {0}" where {0} is a day of the week, e.g. Sunday.
|
|
GetPluralMonth ( int month ) : string |
Returns a localized text string to express months in plural.
|
|
GetPluralTimeUnits ( int units, string resources ) : string |
Returns a localized text string to express time units in plural.
|
|
SetLocalizationCulture ( |
Resources use the culture in the system locale by default. The converter must use the culture specified the ConverterCulture. The ConverterCulture defaults to en-US when not specified. Thus, change the resources culture only if ConverterCulture is set.
|
public Convert ( object value, |
||
value | object | The given date and time. |
targetType |
/// The type corresponding to the binding property, which must be of
/// |
|
parameter | object | (Not used). |
culture | /// The culture to use in the converter. /// When not specified, the converter uses the current culture /// as specified by the system locale. /// | |
Результат | object |
public ConvertBack ( object value, |
||
value | object | (Not used). |
targetType | (Not used). | |
parameter | object | (Not used). |
culture | (Not used). | |
Результат | object |