Duration

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.time
  • Platforms: .NET, .NET Standard 2.0, Island
  • Ancestry:

 

constructor

 

constructor

 

Duration()

 

init()

 

Sub New()

constructor (Int64)

 

constructor(aValue: Int64)

 

Duration(Int64 aValue)

 

init(_ aValue: Int64)

 

Sub New(aValue As Int64)

Parameters:

  • aValue:

Equals  override virtual

 

method Equals(value: Object): Boolean

 

Boolean Equals(Object value)

 

func Equals(_ value: Object) -> Boolean

 

func Equals(value interface{}) Boolean

 

Function Equals(value As Object) As Boolean

Parameters:

  • value:

GetHashCode  override virtual

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

func GetHashCode() Int32

 

Function GetHashCode() As Int32

Hours

 

method Hours: float64

 

float64 Hours()

 

func Hours() -> float64

 

func Hours() float64

 

Function Hours() As float64

Microseconds

 

method Microseconds: int64

 

int64 Microseconds()

 

func Microseconds() -> int64

 

func Microseconds() int64

 

Function Microseconds() As int64

Milliseconds

 

method Milliseconds: int64

 

int64 Milliseconds()

 

func Milliseconds() -> int64

 

func Milliseconds() int64

 

Function Milliseconds() As int64

Minutes

 

method Minutes: float64

 

float64 Minutes()

 

func Minutes() -> float64

 

func Minutes() float64

 

Function Minutes() As float64

Nanoseconds

 

method Nanoseconds: int64

 

int64 Nanoseconds()

 

func Nanoseconds() -> int64

 

func Nanoseconds() int64

 

Function Nanoseconds() As int64

Round

 

method Round(m: Duration): Duration

 

Duration Round(Duration m)

 

func Round(_ m: Duration) -> Duration

 

func Round(m Duration) Duration

 

Function Round(m As Duration) As Duration

Parameters:

  • m:

Seconds

 

method Seconds: float64

 

float64 Seconds()

 

func Seconds() -> float64

 

func Seconds() float64

 

Function Seconds() As float64

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

 

Function String() As string

Truncate

 

method Truncate(m: Duration): Duration

 

Duration Truncate(Duration m)

 

func Truncate(_ m: Duration) -> Duration

 

func Truncate(m Duration) Duration

 

Function Truncate(m As Duration) As Duration

Parameters:

  • m:

Value

 

var Value: Int64;

 

Int64 Value

 

var Value: Int64

 

Value Int64

 

FIELD Value() As Int64

 

Value

 

var Value: Int64;

 

Int64 Value

 

var Value: Int64

 

Value Int64

 

FIELD Value() As Int64

 

constructor

 

constructor

 

Duration()

 

init()

 

Sub New()

constructor (Int64)

 

constructor(aValue: Int64)

 

Duration(Int64 aValue)

 

init(_ aValue: Int64)

 

Sub New(aValue As Int64)

Parameters:

  • aValue:

Equals  override virtual

 

method Equals(value: Object): Boolean

 

Boolean Equals(Object value)

 

func Equals(_ value: Object) -> Boolean

 

func Equals(value interface{}) Boolean

 

Function Equals(value As Object) As Boolean

Parameters:

  • value:

GetHashCode  override virtual

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

func GetHashCode() Int32

 

Function GetHashCode() As Int32

Hours

 

method Hours: float64

 

float64 Hours()

 

func Hours() -> float64

 

func Hours() float64

 

Function Hours() As float64

Microseconds

 

method Microseconds: int64

 

int64 Microseconds()

 

func Microseconds() -> int64

 

func Microseconds() int64

 

Function Microseconds() As int64

Milliseconds

 

method Milliseconds: int64

 

int64 Milliseconds()

 

func Milliseconds() -> int64

 

func Milliseconds() int64

 

Function Milliseconds() As int64

Minutes

 

method Minutes: float64

 

float64 Minutes()

 

func Minutes() -> float64

 

func Minutes() float64

 

Function Minutes() As float64

Nanoseconds

 

method Nanoseconds: int64

 

int64 Nanoseconds()

 

func Nanoseconds() -> int64

 

func Nanoseconds() int64

 

Function Nanoseconds() As int64

Round

 

method Round(m: Duration): Duration

 

Duration Round(Duration m)

 

func Round(_ m: Duration) -> Duration

 

func Round(m Duration) Duration

 

Function Round(m As Duration) As Duration

Parameters:

  • m:

Seconds

 

method Seconds: float64

 

float64 Seconds()

 

func Seconds() -> float64

 

func Seconds() float64

 

Function Seconds() As float64

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

 

Function String() As string

Truncate

 

method Truncate(m: Duration): Duration

 

Duration Truncate(Duration m)

 

func Truncate(_ m: Duration) -> Duration

 

func Truncate(m Duration) Duration

 

Function Truncate(m As Duration) As Duration

Parameters:

  • m: