C# Class ExcelFormulaParser.Engine.Excel.Functions.DateTime.TimeStringParser

Mostrar archivo Open project: swmal/ExcelFormulaParser Class Usage Examples

Public Methods

Method Description
CanParse ( string input ) : bool
Parse ( string input ) : double

Private Methods

Method Description
GetSerialNumber ( int hour, int minute, int second ) : double
GetValuesFromString ( string input, int &hour, int &minute, int &second ) : void
InternalParse ( string input ) : double
Parse12HourTimeString ( string input ) : double
Parse24HourTimeString ( string input ) : double
ValidateValues ( int hour, int minute, int second ) : void

Method Details

CanParse() public method

public CanParse ( string input ) : bool
input string
return bool

Parse() public method

public Parse ( string input ) : double
input string
return double