Class ExcelTime¶
Namespace: OfficeOpenXml.DataValidation
Assembly: EPPlus.dll
Represents a time between 00:00:00 and 23:59:59
Inheritance¶
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Constructors¶
ExcelTime()¶
Default constructor
ExcelTime(decimal)¶
Constructor
Parameters¶
value decimal
An existing time for initialization
Fields¶
NumberOfDecimals¶
Max number of decimals when rounding.
Field Value¶
Properties¶
Hour¶
Hour between 0 and 23
Property Value¶
Minute¶
Minute between 0 and 59
Property Value¶
Second¶
Second between 0 and 59
Property Value¶
int?
Methods¶
ToExcelString()¶
Returns the excel decimal representation of a time as a string.
Returns¶
ToExcelTime()¶
Returns the excel decimal representation of a time.
Returns¶
ToString()¶
Converts the object to a string
Returns¶
The string