Open Rails

S Methods

The methods of the S class are listed below. For a complete list of S class members, see the S Members topic.

Public Static Methods

FromHConvert from hours to seconds
FromMConvert from minutes to seconds
ToHConvert from seconds to hours
ToMConvert from seconds to minutes

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

S Class | ORTS.Common Namespace