You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System;
-
- namespace CIG.Translation
- {
- public class RawShortDateTimeString : ILocalizedString
- {
- public RawShortDateTimeString(DateTime dateTime)
- {
- this._dateTime = dateTime;
- }
-
- public override string ToString()
- {
- return "[ShortDate=" + this._dateTime.ToString() + "]";
- }
-
- public string Translate()
- {
- return this._dateTime.ToString("t", Localization.CurrentCulture.Info);
- }
-
- private DateTime _dateTime;
- }
- }
|