Duration

Overview

Location

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

 

constructor

 

constructor

 

Duration()

 

init()

constructor (Int64)

 

constructor(aValue: Int64)

 

Duration(Int64 aValue)

 

init(_ aValue: 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

Parameters:

  • value:

GetHashCode  override virtual

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

func GetHashCode() Int32

Hours

 

method Hours: float64

 

float64 Hours()

 

func Hours() -> float64

 

func Hours() float64

Minutes

 

method Minutes: float64

 

float64 Minutes()

 

func Minutes() -> float64

 

func Minutes() float64

Nanoseconds

 

method Nanoseconds: int64

 

int64 Nanoseconds()

 

func Nanoseconds() -> int64

 

func Nanoseconds() int64

Round

 

method Round(m: Duration): Duration

 

Duration Round(Duration m)

 

func Round(_ m: Duration) -> Duration

 

func Round(m Duration) Duration

Parameters:

  • m:

Seconds

 

method Seconds: float64

 

float64 Seconds()

 

func Seconds() -> float64

 

func Seconds() float64

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

Truncate

 

method Truncate(m: Duration): Duration

 

Duration Truncate(Duration m)

 

func Truncate(_ m: Duration) -> Duration

 

func Truncate(m Duration) Duration

Parameters:

  • m:

Value

 

var Value: Int64;

 

Int64 Value

 

var Value: Int64

 

Value Int64

 

Value

 

var Value: Int64;

 

Int64 Value

 

var Value: Int64

 

Value Int64

 

constructor

 

constructor

 

Duration()

 

init()

constructor (Int64)

 

constructor(aValue: Int64)

 

Duration(Int64 aValue)

 

init(_ aValue: 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

Parameters:

  • value:

GetHashCode  override virtual

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

func GetHashCode() Int32

Hours

 

method Hours: float64

 

float64 Hours()

 

func Hours() -> float64

 

func Hours() float64

Minutes

 

method Minutes: float64

 

float64 Minutes()

 

func Minutes() -> float64

 

func Minutes() float64

Nanoseconds

 

method Nanoseconds: int64

 

int64 Nanoseconds()

 

func Nanoseconds() -> int64

 

func Nanoseconds() int64

Round

 

method Round(m: Duration): Duration

 

Duration Round(Duration m)

 

func Round(_ m: Duration) -> Duration

 

func Round(m Duration) Duration

Parameters:

  • m:

Seconds

 

method Seconds: float64

 

float64 Seconds()

 

func Seconds() -> float64

 

func Seconds() float64

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

Truncate

 

method Truncate(m: Duration): Duration

 

Duration Truncate(Duration m)

 

func Truncate(_ m: Duration) -> Duration

 

func Truncate(m Duration) Duration

Parameters:

  • m: