Class TimeVal
- Namespace
- GLib
- Assembly
- GLib-2.0.dll
public sealed class TimeVal
- Inheritance
-
TimeVal
- Inherited Members
Constructors
TimeVal()
public TimeVal()
TimeVal(TimeValOwnedHandle)
public TimeVal(TimeValOwnedHandle handle)
Parameters
handle
TimeValOwnedHandle
Properties
Handle
public TimeValOwnedHandle Handle { get; }
Property Value
TvSec
public long TvSec { get; set; }
Property Value
TvUsec
public long TvUsec { get; set; }
Property Value
Methods
Add(long)
public void Add(long microseconds)
Parameters
microseconds
long
Equals(TimeVal?)
public bool Equals(TimeVal? other)
Parameters
other
TimeVal
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
FromIso8601(string, out TimeVal)
[Version("2.12")]
public static bool FromIso8601(string isoDate, out TimeVal time)
Parameters
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToIso8601()
[Version("2.12")]
public string? ToIso8601()