skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class PeriodSpan

Inheritance
System.Object
ViewModelBase
PeriodSpan
Inherited Members
ViewModelBase.VerifyPropertyName(String)
ViewModelBase.OnPropertyChanged(String)
ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)
ViewModelBase.PropertyChangedOverride(String)
ViewModelBase.PropertyChanged
Namespace: Telerik.UI.Xaml.Controls.DataVisualization
Assembly: Telerik.WinUI.Controls.dll

Syntax

public class PeriodSpan : ViewModelBase, INotifyPropertyChanged, IComparable, IComparable<DateTime>, IComparable<PeriodSpan>, IPeriodSpan

Constructors

PeriodSpan(DateTime, TimeSpan)

Declaration
public PeriodSpan(DateTime start, TimeSpan span)
Parameters
System.DateTime start

System.TimeSpan span

Properties

EndDate

Declaration
public DateTime EndDate { get; }
Property Value
System.DateTime

Implements
IPeriodSpan.EndDate

Interval

Declaration
public TimeSpan Interval { get; }
Property Value
System.TimeSpan

Implements
IPeriodSpan.Interval

Label

Declaration
public string Label { get; set; }
Property Value
System.String

StartDate

Declaration
public DateTime StartDate { get; }
Property Value
System.DateTime

Implements
IPeriodSpan.StartDate

Ticks

Declaration
public long Ticks { get; }
Property Value
System.Int64

Methods

CompareTo(DateTime)

Declaration
public int CompareTo(DateTime other)
Parameters
System.DateTime other

Returns
System.Int32

CompareTo(Object)

Declaration
public int CompareTo(object obj)
Parameters
System.Object obj

Returns
System.Int32

CompareTo(PeriodSpan)

Declaration
public int CompareTo(PeriodSpan other)
Parameters
PeriodSpan other

Returns
System.Int32

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

Returns
System.Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
System.Int32

Operators

Equality(PeriodSpan, PeriodSpan)

Declaration
public static bool operator ==(PeriodSpan periodSpan1, PeriodSpan periodSpan2)
Parameters
PeriodSpan periodSpan1

PeriodSpan periodSpan2

Returns
System.Boolean

GreaterThan(PeriodSpan, PeriodSpan)

Declaration
public static bool operator>(PeriodSpan periodSpan1, PeriodSpan periodSpan2)
Parameters
PeriodSpan periodSpan1

PeriodSpan periodSpan2

Returns
System.Boolean

Inequality(PeriodSpan, PeriodSpan)

Declaration
public static bool operator !=(PeriodSpan periodSpan1, PeriodSpan periodSpan2)
Parameters
PeriodSpan periodSpan1

PeriodSpan periodSpan2

Returns
System.Boolean

LessThan(PeriodSpan, PeriodSpan)

Declaration
public static bool operator <(PeriodSpan periodSpan1, PeriodSpan periodSpan2)
Parameters
PeriodSpan periodSpan1

PeriodSpan periodSpan2

Returns
System.Boolean

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
Support Resources
  • Knowledge Base
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.