C# Класс Signum.Web.CalendarHelper

Показать файл Открыть проект

Открытые методы

Метод Описание
DatePicker ( this helper, string name, bool formGroup, System.DateTime value, string dateTimeFormat, CultureInfo culture = null, object>.IDictionary htmlProps = null ) : System.Web.Mvc.MvcHtmlString
DatePicker ( this helper, string name, bool inputGroup, string value, string jsFormat, CultureInfo culture = null, object>.IDictionary htmlProps = null ) : System.Web.Mvc.MvcHtmlString
DateTimePicker ( this helper, string name, bool formGroup, System.DateTime value, string dateTimeFormat, CultureInfo culture = null, object>.IDictionary htmlProps = null ) : System.Web.Mvc.MvcHtmlString
SplitDateTimeFormat ( string dateTimeFormat, CultureInfo culture = null ) : DateTimeFormat
TimePicker ( this helper, string name, bool formGroup, System.TimeSpan ts, string dateFormat, CultureInfo culture = null, object>.IDictionary htmlProps = null ) : System.Web.Mvc.MvcHtmlString
TimePicker ( this helper, string name, bool formGroup, string value, string dateFormat, object>.IDictionary htmlProps = null ) : System.Web.Mvc.MvcHtmlString
ToJsDateFormat ( string dateFormat ) : string

Приватные методы

Метод Описание
AttachDatePicker ( HtmlTag tag, CultureInfo culture, string jsFormat ) : HtmlTag
AttachTimePiceker ( HtmlTag tag, string format ) : HtmlTag
Customize ( string format, DateTimeFormatInfo info ) : string
IsDate ( string part ) : bool

Описание методов

DatePicker() публичный статический Метод

public static DatePicker ( this helper, string name, bool formGroup, System.DateTime value, string dateTimeFormat, CultureInfo culture = null, object>.IDictionary htmlProps = null ) : System.Web.Mvc.MvcHtmlString
helper this
name string
formGroup bool
value System.DateTime
dateTimeFormat string
culture System.Globalization.CultureInfo
htmlProps object>.IDictionary
Результат System.Web.Mvc.MvcHtmlString

DatePicker() публичный статический Метод

public static DatePicker ( this helper, string name, bool inputGroup, string value, string jsFormat, CultureInfo culture = null, object>.IDictionary htmlProps = null ) : System.Web.Mvc.MvcHtmlString
helper this
name string
inputGroup bool
value string
jsFormat string
culture System.Globalization.CultureInfo
htmlProps object>.IDictionary
Результат System.Web.Mvc.MvcHtmlString

DateTimePicker() публичный статический Метод

public static DateTimePicker ( this helper, string name, bool formGroup, System.DateTime value, string dateTimeFormat, CultureInfo culture = null, object>.IDictionary htmlProps = null ) : System.Web.Mvc.MvcHtmlString
helper this
name string
formGroup bool
value System.DateTime
dateTimeFormat string
culture System.Globalization.CultureInfo
htmlProps object>.IDictionary
Результат System.Web.Mvc.MvcHtmlString

SplitDateTimeFormat() публичный статический Метод

public static SplitDateTimeFormat ( string dateTimeFormat, CultureInfo culture = null ) : DateTimeFormat
dateTimeFormat string
culture System.Globalization.CultureInfo
Результат DateTimeFormat

TimePicker() публичный статический Метод

public static TimePicker ( this helper, string name, bool formGroup, System.TimeSpan ts, string dateFormat, CultureInfo culture = null, object>.IDictionary htmlProps = null ) : System.Web.Mvc.MvcHtmlString
helper this
name string
formGroup bool
ts System.TimeSpan
dateFormat string
culture System.Globalization.CultureInfo
htmlProps object>.IDictionary
Результат System.Web.Mvc.MvcHtmlString

TimePicker() публичный статический Метод

public static TimePicker ( this helper, string name, bool formGroup, string value, string dateFormat, object>.IDictionary htmlProps = null ) : System.Web.Mvc.MvcHtmlString
helper this
name string
formGroup bool
value string
dateFormat string
htmlProps object>.IDictionary
Результат System.Web.Mvc.MvcHtmlString

ToJsDateFormat() публичный статический Метод

public static ToJsDateFormat ( string dateFormat ) : string
dateFormat string
Результат string