Table of Contents

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

TimeValOwnedHandle

TvSec

public long TvSec { get; set; }

Property Value

long

TvUsec

public long TvUsec { get; set; }

Property Value

long

Methods

Add(long)

public void Add(long microseconds)

Parameters

microseconds long

Equals(TimeVal?)

public bool Equals(TimeVal? other)

Parameters

other TimeVal

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

FromIso8601(string, out TimeVal)

[Version("2.12")]
public static bool FromIso8601(string isoDate, out TimeVal time)

Parameters

isoDate string
time TimeVal

Returns

bool

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()

Returns

string