Click or drag to resize
NanoXLSX

NumberFormatIsTimeFormat Method

Determines whether a defined style format number represents a time)

Namespace: NanoXLSX.Styles
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.3+98f265239ae8df4639650ecd7029244cc5e52dfc
Syntax
C#
public static bool IsTimeFormat(
	NumberFormatFormatNumber number
)

Parameters

number  NumberFormatFormatNumber
Format number to check

Return Value

Boolean
True if the format represents a time, otherwise false
Remarks
Custom number formats (higher than 164), as well as not officially defined numbers (below 164) are currently not considered during the check and will return false
See Also