C# Class TrakHound_UI.Timeline.TimelineCalendar

Time calculator used by timeline bands
Mostrar archivo Open project: TrakHound/TrakHound-Community Class Usage Examples

Public Methods

Method Description
CalendarFromString ( string name ) : Calendar
GetCeilingTime ( System.DateTime dt ) : System.DateTime
GetFloorTime ( System.DateTime dt ) : System.DateTime
IndexOf ( System.DateTime value ) : long
IsValidIndex ( long index ) : bool
ItemToString ( TimelineCalendar src, System.DateTime value ) : string
TimelineCalendar ( string cultureCalendar, TimelineCalendarType itemType, System.DateTime minDateTime, System.DateTime maxDateTime ) : System
this ( long index ) : System.DateTime

Method Details

CalendarFromString() public static method

public static CalendarFromString ( string name ) : Calendar
name string
return System.Globalization.Calendar

GetCeilingTime() public method

public GetCeilingTime ( System.DateTime dt ) : System.DateTime
dt System.DateTime
return System.DateTime

GetFloorTime() public method

public GetFloorTime ( System.DateTime dt ) : System.DateTime
dt System.DateTime
return System.DateTime

IndexOf() public method

public IndexOf ( System.DateTime value ) : long
value System.DateTime
return long

IsValidIndex() public method

public IsValidIndex ( long index ) : bool
index long
return bool

ItemToString() public static method

public static ItemToString ( TimelineCalendar src, System.DateTime value ) : string
src TimelineCalendar
value System.DateTime
return string

TimelineCalendar() public method

public TimelineCalendar ( string cultureCalendar, TimelineCalendarType itemType, System.DateTime minDateTime, System.DateTime maxDateTime ) : System
cultureCalendar string
itemType TimelineCalendarType
minDateTime System.DateTime
maxDateTime System.DateTime
return System

this() public method

public this ( long index ) : System.DateTime
index long
return System.DateTime