C# Class Signum.Web.CalendarHelper

Mostrar archivo Open project: signumsoftware/framework

Public Methods

Method Description
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

Private Methods

Method Description
AttachDatePicker ( HtmlTag tag, CultureInfo culture, string jsFormat ) : HtmlTag
AttachTimePiceker ( HtmlTag tag, string format ) : HtmlTag
Customize ( string format, DateTimeFormatInfo info ) : string
IsDate ( string part ) : bool

Method Details

DatePicker() public static method

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
return System.Web.Mvc.MvcHtmlString

DatePicker() public static method

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
return System.Web.Mvc.MvcHtmlString

DateTimePicker() public static method

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
return System.Web.Mvc.MvcHtmlString

SplitDateTimeFormat() public static method

public static SplitDateTimeFormat ( string dateTimeFormat, CultureInfo culture = null ) : DateTimeFormat
dateTimeFormat string
culture System.Globalization.CultureInfo
return DateTimeFormat

TimePicker() public static method

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
return System.Web.Mvc.MvcHtmlString

TimePicker() public static method

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
return System.Web.Mvc.MvcHtmlString

ToJsDateFormat() public static method

public static ToJsDateFormat ( string dateFormat ) : string
dateFormat string
return string