Method | Description | |
---|---|---|
CircularDigitSum ( ushort value, short adder ) : ushort |
Performs addition on a single-digit value, wrapping around the boundries This method was originally created to support YearQuarter calculations. |
|
DigitToChar ( ushort value ) : char |
Converts a single digit to a This method was originally created to support YearQuarter calculations. |
|
GetApiSettings ( ) : |
|
|
GetApplicationVersion ( |
Retrieve a dll's Version, with formatting if supplied |
|
GetHpTime ( System.TimeSpan timeSpan ) : System.DateTime |
Creates a DateTime object which conforms to HP fields - which only contain meaningful time information. |
|
IsAlphaNumeric ( string strValue ) : bool |
Identifies whether or not the supplied value contains letters and/or numbers |
|
IsNumber ( string str ) : bool |
Identifies whether the specified String can be converted to a number |
|
SafeConvertToBool ( string value ) : bool |
Safely converts a Unlike the standard Boolean conversion methods, SafeConvertToBool will silentsly return false if it encounters an error during the conversion attempt. |
|
TitleCase ( string str ) : string |
Capitalizes the first letter of each word in a String |
|
TrimCommonCourseChar ( string courseSubject ) : string |
Removes the ApiSettings.RegexPatterns.CommonCourseChar from the end of a string.
|
Method | Description | |
---|---|---|
ReplaceIfPresent ( string &buffer, string token, int component ) : void |
|
public static CircularDigitSum ( ushort value, short adder ) : ushort | ||
value | ushort | A single digit unsigned number |
adder | short | How much to add to |
return | ushort |
public static DigitToChar ( ushort value ) : char | ||
value | ushort | A single digit unsigned number |
return | char |
public static GetApiSettings ( ) : |
||
return |
public static GetApplicationVersion ( |
||
dll | ||
format | string |
/// A simple
|
return | string |
public static GetHpTime ( System.TimeSpan timeSpan ) : System.DateTime | ||
timeSpan | System.TimeSpan | |
return | System.DateTime |
public static IsAlphaNumeric ( string strValue ) : bool | ||
strValue | string | The value to check. |
return | bool |
public static SafeConvertToBool ( string value ) : bool | ||
value | string | The value to attempt to convert |
return | bool |
public static TitleCase ( string str ) : string | ||
str | string | |
return | string |
public static TrimCommonCourseChar ( string courseSubject ) : string | ||
courseSubject | string | |
return | string |