Time Structure

SFML.Net

Time Structure
This class represents a time value

Namespace: SFML.System
Assembly: sfmlnet-system-2 (in sfmlnet-system-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public struct Time : IEquatable<Time>
Public Structure Time
	Implements IEquatable(Of Time)
public value class Time : IEquatable<Time>
[<SealedAttribute>]
type Time =  
    struct
        interface IEquatable<Time>
    end

The Time type exposes the following members.

Methods
  NameDescription
Public methodAsMicroseconds
Returns the time value as a number of microseconds
Public methodAsMilliseconds
Returns the time value as a number of milliseconds
Public methodAsSeconds
Returns the time value as a number of seconds
Public methodEquals(Object)
Compare time and object and checks if they are equal
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Time)
Compare two times and checks if they are equal
Public methodStatic memberFromMicroseconds
Construct a time value from a number of microseconds
Public methodStatic memberFromMilliseconds
Construct a time value from a number of milliseconds
Public methodStatic memberFromSeconds
Construct a time value from a number of seconds
Public methodGetHashCode
Provide a integer describing the object
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Overload of binary + operator to add two time values
Public operatorStatic memberDivision(Time, Time)
Overload of binary / operator to scale a time value
Public operatorStatic memberDivision(Time, Int64)
Overload of binary / operator to scale a time value
Public operatorStatic memberDivision(Time, Single)
Overload of binary / operator to scale a time value
Public operatorStatic memberEquality
Compare two times and checks if they are equal
Public operatorStatic memberGreaterThan
Overload of > operator to compare two time values
Public operatorStatic memberGreaterThanOrEqual
Overload of >= operator to compare two time values
Public operatorStatic memberInequality
Compare two times and checks if they are not equal
Public operatorStatic memberLessThan
Overload of < operator to compare two time values
Public operatorStatic memberLessThanOrEqual
Overload of <= operator to compare two time values
Public operatorStatic memberModulus
Overload of binary % operator to compute remainder of a time value
Public operatorStatic memberMultiply(Int64, Time)
Overload of binary * operator to scale a time value
Public operatorStatic memberMultiply(Single, Time)
Overload of binary * operator to scale a time value
Public operatorStatic memberMultiply(Time, Int64)
Overload of binary * operator to scale a time value
Public operatorStatic memberMultiply(Time, Single)
Overload of binary * operator to scale a time value
Public operatorStatic memberSubtraction
Overload of binary - operator to subtract two time values
Top
Fields
  NameDescription
Public fieldStatic memberZero
Predefined "zero" time value
Top
See Also