Click or drag to resize
Util Methods

The Util type exposes the following members.

Methods
  Name Description
Public method ArrayToVariantArray
Convert an array of .NET built-in types to an equivalent Variant arrray (array of .NET Objects)
Public method ConvertPressure
Convert atmospheric pressure from one altitude above mean sea level to another
Public method ConvertUnits
Convert from one set of speed / temperature / pressure rain rate units to another
Public method DateJulianToLocal
Convert Julian date to local-time Date
Public method DateJulianToUTC
Convert Julian date to UTC Date
Public method DateLocalToJulian
Convert local-time Date to Julian date
Public method DateLocalToUTC
Convert local-time Date to UTC Date
Public method DateUTCToJulian
Convert UTC Date to Julian date
Public method DateUTCToLocal
Convert UTC Date to local-time Date
Public method DegreesToDM(Double)
Convert degrees to sexagesimal degrees and minutes with default delimiters DD° MM'
Public method DegreesToDM(Double, String)
Convert degrees to sexagesimal degrees and minutes with the default minutes delimeter MM'
Public method DegreesToDM(Double, String, String)
Convert degrees to sexagesimal degrees and minutes
Public method DegreesToDM(Double, String, String, Int32)
Convert degrees to sexagesimal degrees and minutes with the specified number of minute decimal places
Public method DegreesToDMS(Double)
Convert degrees to sexagesimal degrees, minutes and seconds with default delimiters DD° MM' SS"
Public method DegreesToDMS(Double, String)
Convert degrees to sexagesimal degrees, minutes and seconds with with default minute and second delimiters MM' SS"
Public method DegreesToDMS(Double, String, String)
Convert degrees to sexagesimal degrees, minutes and seconds with default second delimiter SS"
Public method DegreesToDMS(Double, String, String, String)
Convert degrees to sexagesimal degrees, minutes and seconds
Public method DegreesToDMS(Double, String, String, String, Int32)
Convert degrees to sexagesimal degrees, minutes and seconds with specified second decimal places
Public method DegreesToHM(Double)
Convert degrees to sexagesimal hours and minutes with default delimiters HH:MM
Public method DegreesToHM(Double, String)
Convert degrees to sexagesimal hours and minutes with default minute delimiter MM (null string)
Public method DegreesToHM(Double, String, String)
Convert degrees to sexagesimal hours and minutes
Public method DegreesToHM(Double, String, String, Int32)
Convert degrees to sexagesimal hours and minutes with supplied number of minute decimal places
Public method DegreesToHMS(Double)
Convert degrees to sexagesimal hours, minutes, and seconds with default delimters of HH:MM:SS
Public method DegreesToHMS(Double, String)
Convert degrees to sexagesimal hours, minutes, and seconds with the default second and minute delimiters of MM:SS
Public method DegreesToHMS(Double, String, String)
Convert degrees to sexagesimal hours, minutes, and seconds with the default second delimiter SS (null string)
Public method DegreesToHMS(Double, String, String, String)
Convert degrees to sexagesimal hours, minutes, and seconds
Public method DegreesToHMS(Double, String, String, String, Int32)
Convert degrees to sexagesimal hours, minutes, and seconds with the specified number of second decimal places
Public method DewPoint2Humidity
Calculate the relative humidity (%) given the ambient temperature (°Celsius) and dew point (°Celsius)
Public method Dispose
Disposes of resources used by the profile object
Public method DMSToDegrees
Convert sexagesimal degrees to binary double-precision degrees
Public method HMSToDegrees
Convert sexagesimal hours to binary double-precision hours
Public method HMSToHours
Convert sexagesimal hours to binary double-precision hours
Public method HoursToHM(Double)
Convert hours to sexagesimal hours and minutes with default delimiters HH:MM
Public method HoursToHM(Double, String)
Convert hours to sexagesimal hours and minutes with default minutes delimiter MM (null string)
Public method HoursToHM(Double, String, String)
Convert hours to sexagesimal hours and minutes
Public method HoursToHM(Double, String, String, Int32)
Convert hours to sexagesimal hours and minutes with supplied number of minute decimal places
Public method HoursToHMS(Double)
Convert hours to sexagesimal hours, minutes, and seconds with default delimiters HH:MM:SS
Public method HoursToHMS(Double, String)
Convert hours to sexagesimal hours, minutes, and seconds with default minutes and seconds delimters MM:SS
Public method HoursToHMS(Double, String, String)
Convert hours to sexagesimal hours, minutes, and seconds with default second delimiter of null string
Public method HoursToHMS(Double, String, String, String)
Convert hours to sexagesimal hours, minutes, and seconds
Public method HoursToHMS(Double, String, String, String, Int32)
Convert hours to sexagesimal hours, minutes, and seconds with specified number of second decimal places
Public method Humidity2DewPoint
Calculate the dew point (°Celsius) given the ambient temperature (°Celsius) and relative humidity (%)
Public method IsMinimumRequiredVersion
Tests whether the current platform version is at least equal to the supplied major and minor version numbers, returns false if this is not the case
Public method ToIntegerCollection
Convert an integer safearray to an ArrayList collection that can be used in scripting languages
Public method ToStringCollection
Convert a string safearray to an ArrayList that can be used in scripting languages
Public method WaitForMilliseconds
Pauses for a given interval in milliseconds.
Top
See Also