Home
Namespace:
nTools
Assembly: SystemInfo (in SystemInfo.dll) Version: 1.1.0.0 (1.1.0.0)
[Missing <summary> documentation for T:nTools.nMore]
Assembly: SystemInfo (in SystemInfo.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
C# | Visual Basic | Visual C++ |
public static class nMore
Public NotInheritable Class nMore
public ref class nMore abstract sealed
Members
All Members | Methods |
Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |
Member | Description | |
---|---|---|
autoFormatSize(Single, Boolean) |
auto formats the supplied sizeInKilobytes (must be supplied as a float)
| |
autoFormatSize(String, Boolean) |
auto formats the supplied sizeInKilobytes (must be supplied as string)
| |
byteToSize(Single, sizeType) |
returns the byte to the size you prefer
| |
dateTimeToUnix(DateTime) |
converts a DateTime from DateTime to a double representation of its UnixTimeStamp counterpart
| |
getSpan(TimeSpan) |
takes a TimeSpan arg and returns a formatted string:
x day/days xx hour/hours xxx minute/minutes xxxx second/seconds
| |
KBToBytes(String) |
converts KB to bytes
| |
smallSpaces(String) |
trims excess spaces, leaving no more than one adjacent space
| |
stringDateTimeToUnix(String) |
converts a DateTime from string to a double representation of its UnixTimeStamp counterpart
|