예제 #1
0
 public string FormatLongDateTime(DateTime date)
 {
     return(SupportClass.FormatDateTime(SupportClass.GetDateTimeFormatInstance(1, 1, CultureInfo.CurrentCulture), date));
 }
예제 #2
0
 protected internal virtual System.String getCaption(System.DateTime date)
 {
     return("Jamocha - Rete Network - " + SupportClass.FormatDateTime(SupportClass.GetDateTimeFormatInstance(2, 2, System.Globalization.CultureInfo.CurrentCulture), date));
 }
 /// <summary>
 /// Formats a date/time in 'short' style.
 /// </summary>
 /// <param name="date">A Date.</param>
 /// <returns>A String.</returns>
 public String FormatShortDateTime(DateTime date)
 {
     return(SupportClass.FormatDateTime(SupportClass.GetDateTimeFormatInstance(3, 3, CultureInfo.CurrentCulture), date));
 }
예제 #4
0
 /// <summary> Formats a date/time in 'long' style.
 /// *
 /// </summary>
 /// <param name="date">A Date.
 /// </param>
 /// <returns>A String.
 ///
 /// </returns>
 public virtual System.String formatLongDateTime(System.DateTime date)
 {
     return(SupportClass.FormatDateTime(SupportClass.GetDateTimeFormatInstance(1, 1, System.Globalization.CultureInfo.CurrentCulture), date));
 }