TimeSpan

Overview

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard 2.0
    • elements.jar  Cooper
    • Elements.fx  Island, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL
  • Mapped to:
    • System.TimeSpan  .NET, .NET Standard 2.0
    • RemObjects.Oxygene.System.Int64  Cooper
    • RemObjects.Elements.System.Int64  Island
    • RemObjects.Oxygene.System.Double  Toffee
    • RemObjects.Elements.System.Double  ToffeeV2
  • Ancestry:

 

constructor (Int32, Int32, Int32)

 

constructor(h: Int32; m: Int32; s: Int32)

 

TimeSpan(Int32 h, Int32 m, Int32 s)

 

init(_ h: Int32, _ m: Int32, _ s: Int32)

 

TimeSpan(Integer h, Integer m, Integer s)

Parameters:

  • h:
  • m:
  • s:

constructor (Int32, Int32, Int32, Int32, Int32)

 

constructor(d: Int32; h: Int32; m: Int32; s: Int32; ms: Int32)

 

TimeSpan(Int32 d, Int32 h, Int32 m, Int32 s, Int32 ms)

 

init(_ d: Int32, _ h: Int32, _ m: Int32, _ s: Int32, _ ms: Int32)

 

TimeSpan(Integer d, Integer h, Integer m, Integer s, Integer ms)

Parameters:

  • d:
  • h:
  • m:
  • s:
  • ms:

constructor (Int64)

 

constructor(aTicks: Int64)

 

TimeSpan(Int64 aTicks)

 

init(_ aTicks: Int64)

 

TimeSpan(Int64 aTicks)

Parameters:

  • aTicks:

Add

 

method Add(ts: TimeSpan): TimeSpan

 

TimeSpan Add(TimeSpan ts)

 

func Add(_ ts: TimeSpan) -> TimeSpan

 

TimeSpan Add(TimeSpan ts)

Parameters:

  • ts:

Days

 

property Days: Int32 read;

 

Int32 Days { get; }

 

var Days: Int32 { get{} }

 

Integer Days { __get; }

FromDays

 

class method FromDays(d: Double): TimeSpan

 

static TimeSpan FromDays(Double d)

 

static func FromDays(_ d: Double) -> TimeSpan

 

static TimeSpan FromDays(Double d)

Parameters:

  • d:

FromHours

 

class method FromHours(d: Double): TimeSpan

 

static TimeSpan FromHours(Double d)

 

static func FromHours(_ d: Double) -> TimeSpan

 

static TimeSpan FromHours(Double d)

Parameters:

  • d:

FromMilliseconds

 

class method FromMilliseconds(d: Double): TimeSpan

 

static TimeSpan FromMilliseconds(Double d)

 

static func FromMilliseconds(_ d: Double) -> TimeSpan

 

static TimeSpan FromMilliseconds(Double d)

Parameters:

  • d:

FromMinutes

 

class method FromMinutes(d: Double): TimeSpan

 

static TimeSpan FromMinutes(Double d)

 

static func FromMinutes(_ d: Double) -> TimeSpan

 

static TimeSpan FromMinutes(Double d)

Parameters:

  • d:

FromSeconds

 

class method FromSeconds(d: Double): TimeSpan

 

static TimeSpan FromSeconds(Double d)

 

static func FromSeconds(_ d: Double) -> TimeSpan

 

static TimeSpan FromSeconds(Double d)

Parameters:

  • d:

FromTicks

 

class method FromTicks(d: Int64): TimeSpan

 

static TimeSpan FromTicks(Int64 d)

 

static func FromTicks(_ d: Int64) -> TimeSpan

 

static TimeSpan FromTicks(Int64 d)

Parameters:

  • d:

Hours

 

property Hours: Int32 read;

 

Int32 Hours { get; }

 

var Hours: Int32 { get{} }

 

Integer Hours { __get; }

Milliseconds

 

property Milliseconds: Int32 read;

 

Int32 Milliseconds { get; }

 

var Milliseconds: Int32 { get{} }

 

Integer Milliseconds { __get; }

Minutes

 

property Minutes: Int32 read;

 

Int32 Minutes { get; }

 

var Minutes: Int32 { get{} }

 

Integer Minutes { __get; }

Negate

 

method Negate: TimeSpan

 

TimeSpan Negate()

 

func Negate() -> TimeSpan

 

TimeSpan Negate()

Seconds

 

property Seconds: Int32 read;

 

Int32 Seconds { get; }

 

var Seconds: Int32 { get{} }

 

Integer Seconds { __get; }

Subtract

 

method Subtract(ts: TimeSpan): TimeSpan

 

TimeSpan Subtract(TimeSpan ts)

 

func Subtract(_ ts: TimeSpan) -> TimeSpan

 

TimeSpan Subtract(TimeSpan ts)

Parameters:

  • ts:

Ticks

 

property Ticks: Int64 read;

 

Int64 Ticks { get; }

 

var Ticks: Int64 { get{} }

 

Int64 Ticks { __get; }

TicksPerDay

 

const TicksPerDay: Int64 = 864000000000;

 

const Int64 TicksPerDay = 864000000000

 

static let TicksPerDay: Int64 = 864000000000

 

static final Int64 TicksPerDay = 864000000000

TicksPerHour

 

const TicksPerHour: Int64 = 36000000000;

 

const Int64 TicksPerHour = 36000000000

 

static let TicksPerHour: Int64 = 36000000000

 

static final Int64 TicksPerHour = 36000000000

TicksPerMillisecond

 

const TicksPerMillisecond: Int64 = 10000;

 

const Int64 TicksPerMillisecond = 10000

 

static let TicksPerMillisecond: Int64 = 10000

 

static final Int64 TicksPerMillisecond = 10000

TicksPerMinute

 

const TicksPerMinute: Int64 = 600000000;

 

const Int64 TicksPerMinute = 600000000

 

static let TicksPerMinute: Int64 = 600000000

 

static final Int64 TicksPerMinute = 600000000

TicksPerSecond

 

const TicksPerSecond: Int64 = 10000000;

 

const Int64 TicksPerSecond = 10000000

 

static let TicksPerSecond: Int64 = 10000000

 

static final Int64 TicksPerSecond = 10000000

TotalDays

 

property TotalDays: Double read;

 

Double TotalDays { get; }

 

var TotalDays: Double { get{} }

 

Double TotalDays { __get; }

TotalHours

 

property TotalHours: Double read;

 

Double TotalHours { get; }

 

var TotalHours: Double { get{} }

 

Double TotalHours { __get; }

TotalMilliSeconds

 

property TotalMilliSeconds: Double read;

 

Double TotalMilliSeconds { get; }

 

var TotalMilliSeconds: Double { get{} }

 

Double TotalMilliSeconds { __get; }

TotalMinutes

 

property TotalMinutes: Double read;

 

Double TotalMinutes { get; }

 

var TotalMinutes: Double { get{} }

 

Double TotalMinutes { __get; }

TotalSeconds

 

property TotalSeconds: Double read;

 

Double TotalSeconds { get; }

 

var TotalSeconds: Double { get{} }

 

Double TotalSeconds { __get; }

 

TicksPerDay

 

const TicksPerDay: Int64 = 864000000000;

 

const Int64 TicksPerDay = 864000000000

 

static let TicksPerDay: Int64 = 864000000000

 

static final Int64 TicksPerDay = 864000000000

TicksPerHour

 

const TicksPerHour: Int64 = 36000000000;

 

const Int64 TicksPerHour = 36000000000

 

static let TicksPerHour: Int64 = 36000000000

 

static final Int64 TicksPerHour = 36000000000

TicksPerMillisecond

 

const TicksPerMillisecond: Int64 = 10000;

 

const Int64 TicksPerMillisecond = 10000

 

static let TicksPerMillisecond: Int64 = 10000

 

static final Int64 TicksPerMillisecond = 10000

TicksPerMinute

 

const TicksPerMinute: Int64 = 600000000;

 

const Int64 TicksPerMinute = 600000000

 

static let TicksPerMinute: Int64 = 600000000

 

static final Int64 TicksPerMinute = 600000000

TicksPerSecond

 

const TicksPerSecond: Int64 = 10000000;

 

const Int64 TicksPerSecond = 10000000

 

static let TicksPerSecond: Int64 = 10000000

 

static final Int64 TicksPerSecond = 10000000

 

Days

 

property Days: Int32 read;

 

Int32 Days { get; }

 

var Days: Int32 { get{} }

 

Integer Days { __get; }

Hours

 

property Hours: Int32 read;

 

Int32 Hours { get; }

 

var Hours: Int32 { get{} }

 

Integer Hours { __get; }

Milliseconds

 

property Milliseconds: Int32 read;

 

Int32 Milliseconds { get; }

 

var Milliseconds: Int32 { get{} }

 

Integer Milliseconds { __get; }

Minutes

 

property Minutes: Int32 read;

 

Int32 Minutes { get; }

 

var Minutes: Int32 { get{} }

 

Integer Minutes { __get; }

Seconds

 

property Seconds: Int32 read;

 

Int32 Seconds { get; }

 

var Seconds: Int32 { get{} }

 

Integer Seconds { __get; }

Ticks

 

property Ticks: Int64 read;

 

Int64 Ticks { get; }

 

var Ticks: Int64 { get{} }

 

Int64 Ticks { __get; }

TotalDays

 

property TotalDays: Double read;

 

Double TotalDays { get; }

 

var TotalDays: Double { get{} }

 

Double TotalDays { __get; }

TotalHours

 

property TotalHours: Double read;

 

Double TotalHours { get; }

 

var TotalHours: Double { get{} }

 

Double TotalHours { __get; }

TotalMilliSeconds

 

property TotalMilliSeconds: Double read;

 

Double TotalMilliSeconds { get; }

 

var TotalMilliSeconds: Double { get{} }

 

Double TotalMilliSeconds { __get; }

TotalMinutes

 

property TotalMinutes: Double read;

 

Double TotalMinutes { get; }

 

var TotalMinutes: Double { get{} }

 

Double TotalMinutes { __get; }

TotalSeconds

 

property TotalSeconds: Double read;

 

Double TotalSeconds { get; }

 

var TotalSeconds: Double { get{} }

 

Double TotalSeconds { __get; }

 

FromDays

 

class method FromDays(d: Double): TimeSpan

 

static TimeSpan FromDays(Double d)

 

static func FromDays(_ d: Double) -> TimeSpan

 

static TimeSpan FromDays(Double d)

Parameters:

  • d:

FromHours

 

class method FromHours(d: Double): TimeSpan

 

static TimeSpan FromHours(Double d)

 

static func FromHours(_ d: Double) -> TimeSpan

 

static TimeSpan FromHours(Double d)

Parameters:

  • d:

FromMilliseconds

 

class method FromMilliseconds(d: Double): TimeSpan

 

static TimeSpan FromMilliseconds(Double d)

 

static func FromMilliseconds(_ d: Double) -> TimeSpan

 

static TimeSpan FromMilliseconds(Double d)

Parameters:

  • d:

FromMinutes

 

class method FromMinutes(d: Double): TimeSpan

 

static TimeSpan FromMinutes(Double d)

 

static func FromMinutes(_ d: Double) -> TimeSpan

 

static TimeSpan FromMinutes(Double d)

Parameters:

  • d:

FromSeconds

 

class method FromSeconds(d: Double): TimeSpan

 

static TimeSpan FromSeconds(Double d)

 

static func FromSeconds(_ d: Double) -> TimeSpan

 

static TimeSpan FromSeconds(Double d)

Parameters:

  • d:

FromTicks

 

class method FromTicks(d: Int64): TimeSpan

 

static TimeSpan FromTicks(Int64 d)

 

static func FromTicks(_ d: Int64) -> TimeSpan

 

static TimeSpan FromTicks(Int64 d)

Parameters:

  • d:

 

constructor (Int32, Int32, Int32)

 

constructor(h: Int32; m: Int32; s: Int32)

 

TimeSpan(Int32 h, Int32 m, Int32 s)

 

init(_ h: Int32, _ m: Int32, _ s: Int32)

 

TimeSpan(Integer h, Integer m, Integer s)

Parameters:

  • h:
  • m:
  • s:

constructor (Int32, Int32, Int32, Int32, Int32)

 

constructor(d: Int32; h: Int32; m: Int32; s: Int32; ms: Int32)

 

TimeSpan(Int32 d, Int32 h, Int32 m, Int32 s, Int32 ms)

 

init(_ d: Int32, _ h: Int32, _ m: Int32, _ s: Int32, _ ms: Int32)

 

TimeSpan(Integer d, Integer h, Integer m, Integer s, Integer ms)

Parameters:

  • d:
  • h:
  • m:
  • s:
  • ms:

constructor (Int64)

 

constructor(aTicks: Int64)

 

TimeSpan(Int64 aTicks)

 

init(_ aTicks: Int64)

 

TimeSpan(Int64 aTicks)

Parameters:

  • aTicks:

Add

 

method Add(ts: TimeSpan): TimeSpan

 

TimeSpan Add(TimeSpan ts)

 

func Add(_ ts: TimeSpan) -> TimeSpan

 

TimeSpan Add(TimeSpan ts)

Parameters:

  • ts:

Negate

 

method Negate: TimeSpan

 

TimeSpan Negate()

 

func Negate() -> TimeSpan

 

TimeSpan Negate()

Subtract

 

method Subtract(ts: TimeSpan): TimeSpan

 

TimeSpan Subtract(TimeSpan ts)

 

func Subtract(_ ts: TimeSpan) -> TimeSpan

 

TimeSpan Subtract(TimeSpan ts)

Parameters:

  • ts: