The Utilities type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAutoUpperLower
Given a string, capitalizes each word in the string that is not in the "StayLower" list defined in StayLower.
Public methodStatic memberCalculateFiscalPeriod
Given a transaction date and using the system setting for the first month of thr Fiscal year FirstMonthOfFiscalYear, returns a string representing the fiscal period, in a format like YYMM.
Public methodStatic memberDateToLogFormat
Converts the supplied date to the string format used by the change logger.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFixCurrencyAmount
Deals with issues associated with calculations involving currency and rounding to the correct number of decimal places. Regional variations in the currency format can also be handled.
Public methodStatic memberFormatCCNumber
Formats a credit card number to match the format expected by iMIS C/S.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberGetXml
Serializes the given object to XML.
Public methodStatic memberIsInList
Looks in the list for the supplied value and returns true if it is found.
Public methodStatic memberIsValidCCNumber
Validates a US Credit Card number for the proper length and then using the 1212 mod 10 algorithm
Public methodStatic memberLoadSerializedXml
Instantiates an object from its serialized XML representation.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberStripNonNumeric
Strips the input string of any character that is not 0 thru 9.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also