EssentialsTime.Parse method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Time |
---|---|
Assembly | Skybrud.Essentials.dll |
Parse(string)
Static
Parses the specified string into an instance of EssentialsTime.
public static EssentialsTime Parse(string input)
Parameters
input
String
The input string to be parsed.
Returns
An instance of EssentialsTime.
Parse(string, IFormatProvider)
Static
Parses the specified string into an instance of EssentialsTime.
public static EssentialsTime Parse(string input, IFormatProvider provider)
Parameters
input
String
The input string to be parsed.
provider
IFormatProvider
An object that provides culture-specific format information about input.
Returns
An instance of EssentialsTime.
Parse(string, IFormatProvider, DateTimeStyles)
Static
Parses the specified string into an instance of EssentialsTime.
public static EssentialsTime Parse(string input, IFormatProvider provider, DateTimeStyles styles)
Parameters
input
String
The input string to be parsed.
provider
IFormatProvider
An object that provides culture-specific format information about input.
styles
DateTimeStyles
A bitwise combination of enumeration values that indicates the permitted format of input. A typical value to specify is System.Globalization.DateTimeStyles.None
.
Returns
An instance of EssentialsTime.