[]
        
(Showing Draft Content)

C1.WPF.Schedule.DateTimeInfo

DateTimeInfo Class

Provides additional info about a DateTime in a specified culture.

Inheritance
DateTimeInfo
Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.4.6.2.dll
Syntax
public class DateTimeInfo : INotifyPropertyChanged

Constructors

Name Description
DateTimeInfo(DateTime, CalendarHelper)

Initializes the new instance of the DateTimeInfo class.

Properties

Name Description
BaseDateTime

The base DateTime value.

CalendarHelper

Gets the CalendarHelper object which is used for retrieving calendar specific information.

IsWeekend

Gets the bool value determining whether this date is weekend or holiday.

MonthFullName

Gets the full month name according to the CalendarHelper culture settings.

WeekOfYear

Gets a week of year number.

WeekOfYearFullWeek

Gets a week number in a supposition that last days of a year and the first days of a next year that belongs to the same week having the same week number.

Year

Gets the string value determining the year representation according to the CalendarHelper culture settings.

Events

Name Description
PropertyChanged

Occurs when property value is changed.