[This is preliminary documentation and is subject to change.]

The OCConvert type exposes the following members.

Constructors

  NameDescription
Public methodOCConvert

Methods

  NameDescription
Public methodStatic memberConvertIntCSVToArrayList
Converts a comma separated list into an arraylist
Public methodStatic memberConvertTrackerBooleanDBToScreenOverloaded.
Public methodStatic memberConvertTrackerScreenToBooleanDB
Converts the boolean values on the tracker screen to its database representation to store in the database. In general the database stores the values as '0' and '1', and the user sees them on the screen as the localized version of "Yes" and "No".
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 memberFoldString
Folds the string so that if it is more than 75 characters, it adds a CRLF and a blank space
Public methodStatic memberFromBase64StringOverloaded.
Public methodStatic memberFromBase64UrlSafeString
Takes a base64 encoded string that has been modified and replaces the -,_,! characters with the +,/,= characters respectively
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParseFullName
Converts the user name in proper format
Public methodStatic memberToArrayIdsFromStringIds
Converts string containing various integers delimited with a character to an arraylist.
Public methodStatic memberToArrayList
Converts an array to an arraylist
Public methodStatic memberToBase64StringOverloaded.
Public methodStatic memberToBase64UrlSafeString
Takes a base64 encoded string and replaces the +,/,= characters with the -,_,! characters respectively
Public methodStatic memberToDate
Parse a string to datetime format
Public methodStatic memberToDiskAppPath
This function is used to translate the apppaths obtained from the OCResources to the disk path
Public methodStatic memberToDiskPath
This function is used to translate the xml and xsd files, where disk file is required
Public methodStatic memberToDouble
Converts the string to double. This method, unlike the dotnet framework, does not throw any exception. Instead it returns 0.0 if the string cannot be converted to double.
Public methodStatic memberToFullNameOverloaded.
Public methodStatic memberToGroup
Converts groups into grouptype format
Public methodStatic memberToJavascriptConfirmString
Formats the javascript confirm string that is used in many delete buttons.
Public methodStatic memberToReminderDateTime
Extracts the remind at datetime from the startdatetime and remindnow
Public methodStatic memberToReminderText
Extracts the text used for the reminders
Public methodStatic memberToResourcePath
Return the disk path of the resource folder
Public methodStatic memberToShortDateString
Returns the string representation of the datetime to short date format
Public methodStatic memberToShortTimeString
Returns the string representation of the datetime to short time format
Public methodStatic memberToStringOverloaded.
Public methodStatic memberToUploadGroupPath
Return the disk path of the upload folder for group
Public methodStatic memberToUploadUserPath
Return the disk path of the upload folder for user
Public methodStatic memberUnFoldString
Unfolds a folded string. Unfolding means merging the following patterns into a single string \r\n followed by a whitespace character

Properties

  NameDescription
Public propertyStatic memberDemoGuardAlertString
Returns the demo guard alert string to be used by the javascript that shows the alert if any restricted function is attempted on the demo account.

See Also