C# Class Composite.C1Console.Trees.Foundation.DateTimeFormater

Mostrar archivo Open project: Orckestra/C1-CMS

Public Properties

Property Type Description
DateTime_Day System.Reflection.PropertyInfo
DateTime_Hour System.Reflection.PropertyInfo
DateTime_Minute System.Reflection.PropertyInfo
DateTime_Month System.Reflection.PropertyInfo
DateTime_Second System.Reflection.PropertyInfo
DateTime_Year System.Reflection.PropertyInfo

Public Methods

Method Description
DateTimeFormater ( string format ) : System
Deserialize ( string serializedValue, System.DateTime currentTime = null ) : System.DateTime
FormatLabel ( object dateTimeValue ) : string
GetDateTime ( object value ) : System.DateTime
GetTupleConstructor ( ) : ConstructorInfo
GetTupleMembers ( ) : System.Reflection.MethodInfo[]
IsDateTimeGroupingValue ( object value ) : bool
Serialize ( object value ) : string
SerializeDateTime ( System.DateTime value ) : string

Private Methods

Method Description
DateTimeFormater ( ) : System
SetFormat ( string pattern, string &format ) : void
ValidateFieldsCount ( ) : void

Method Details

DateTimeFormater() public method

public DateTimeFormater ( string format ) : System
format string
return System

Deserialize() public static method

public static Deserialize ( string serializedValue, System.DateTime currentTime = null ) : System.DateTime
serializedValue string
currentTime System.DateTime
return System.DateTime

FormatLabel() public method

public FormatLabel ( object dateTimeValue ) : string
dateTimeValue object
return string

GetDateTime() public method

public GetDateTime ( object value ) : System.DateTime
value object
return System.DateTime

GetTupleConstructor() public method

public GetTupleConstructor ( ) : ConstructorInfo
return System.Reflection.ConstructorInfo

GetTupleMembers() public method

public GetTupleMembers ( ) : System.Reflection.MethodInfo[]
return System.Reflection.MethodInfo[]

IsDateTimeGroupingValue() public method

public IsDateTimeGroupingValue ( object value ) : bool
value object
return bool

Serialize() public method

public Serialize ( object value ) : string
value object
return string

SerializeDateTime() public method

public SerializeDateTime ( System.DateTime value ) : string
value System.DateTime
return string

Property Details

DateTime_Day public_oe static_oe property

public static PropertyInfo,System.Reflection DateTime_Day
return System.Reflection.PropertyInfo

DateTime_Hour public_oe static_oe property

public static PropertyInfo,System.Reflection DateTime_Hour
return System.Reflection.PropertyInfo

DateTime_Minute public_oe static_oe property

public static PropertyInfo,System.Reflection DateTime_Minute
return System.Reflection.PropertyInfo

DateTime_Month public_oe static_oe property

public static PropertyInfo,System.Reflection DateTime_Month
return System.Reflection.PropertyInfo

DateTime_Second public_oe static_oe property

public static PropertyInfo,System.Reflection DateTime_Second
return System.Reflection.PropertyInfo

DateTime_Year public_oe static_oe property

public static PropertyInfo,System.Reflection DateTime_Year
return System.Reflection.PropertyInfo