ODF .NET Class Library
Show/Hide TOC

# Hours Class

Represents the hours are displayed as part of a date or time.

## Definition

Namespace: Independentsoft.Office.Odf.Styles
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class Hours

VB

    Public Class Hours

Inheritance
  Object Hours

## Constructors

Hours | Initializes a new instance of the Hours class.

## Properties

DisplayFormat | Specifies whether the content of a time element is displayed in short or long format.

## Methods

Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetHashCode | (Inherited from Object)
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current Hours object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf.Styles Namespace