Global

Location

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

 

After

 

class method After(d: Duration): ReceivingChannel<Time>

 

static ReceivingChannel<Time> After(Duration d)

 

static func After(_ d: Duration) -> ReceivingChannel<Time>

 

func After(d Duration) ReceivingChannel<Time>

Parameters:

  • d:

AfterFunc

 

class method AfterFunc(d: Duration; f: Action): Reference<Timer>

 

static Reference<Timer> AfterFunc(Duration d, Action f)

 

static func AfterFunc(_ d: Duration, _ f: Action) -> Reference<Timer>

 

func AfterFunc(d Duration, f Action) Reference<Timer>

Parameters:

  • d:
  • f:

ANSIC

 

const ANSIC: String = "Mon Jan _2 15:04:05 2006";

 

const String ANSIC = "Mon Jan _2 15:04:05 2006"

 

static let ANSIC: String = "Mon Jan _2 15:04:05 2006"

 

const ANSIC String =  = "Mon Jan _2 15:04:05 2006"

April

 

const April: Month = 4;

 

const Month April = 4

 

static let April: Month = 4

 

const April Month =  = 4

August

 

const August: Month = 8;

 

const Month August = 8

 

static let August: Month = 8

 

const August Month =  = 8

Date

 

class method Date(year: int; month: Month; day: int; hour: int; min: int; sec: int; nsec: int; loc: Reference<Location>): Time

 

static Time Date(int year, Month month, int day, int hour, int min, int sec, int nsec, Reference<Location> loc)

 

static func Date(_ year: int, _ month: Month, _ day: int, _ hour: int, _ min: int, _ sec: int, _ nsec: int, _ loc: Reference<Location>) -> Time

 

func Date(year int, month Month, day int, hour int, min int, sec int, nsec int, loc Reference<Location>) Time

Parameters:

  • year:
  • month:
  • day:
  • hour:
  • min:
  • sec:
  • nsec:
  • loc:

December

 

const December: Month = 12;

 

const Month December = 12

 

static let December: Month = 12

 

const December Month =  = 12

February

 

const February: Month = 2;

 

const Month February = 2

 

static let February: Month = 2

 

const February Month =  = 2

FixedZone

 

class method FixedZone(name: string; offset: int): Reference<Location>

 

static Reference<Location> FixedZone(string name, int offset)

 

static func FixedZone(_ name: string, _ offset: int) -> Reference<Location>

 

func FixedZone(name string, offset int) Reference<Location>

Parameters:

  • name:
  • offset:

Friday

 

const Friday: Weekday = 5;

 

const Weekday Friday = 5

 

static let Friday: Weekday = 5

 

const Friday Weekday =  = 5

Hour

 

const Hour: Int64 = 3600000000000;

 

const Int64 Hour = 3600000000000

 

static let Hour: Int64 = 3600000000000

 

const Hour Int64 =  = 3600000000000

January

 

const January: Month = 1;

 

const Month January = 1

 

static let January: Month = 1

 

const January Month =  = 1

July

 

const July: Month = 7;

 

const Month July = 7

 

static let July: Month = 7

 

const July Month =  = 7

June

 

const June: Month = 6;

 

const Month June = 6

 

static let June: Month = 6

 

const June Month =  = 6

Kitchen

 

const Kitchen: String = "3:04PM";

 

const String Kitchen = "3:04PM"

 

static let Kitchen: String = "3:04PM"

 

const Kitchen String =  = "3:04PM"

LoadLocation

 

// .NET, Island
class method LoadLocation(name: string): tuple of (Reference<Location>, error)
// .NET Standard 2.0
class method LoadLocation(name: string): ValueTuple<Reference<Location>, error>

 

// .NET, Island
static (Reference<Location>, error) LoadLocation(string name)
// .NET Standard 2.0
static ValueTuple<Reference<Location>, error> LoadLocation(string name)

 

// .NET, Island
static func LoadLocation(_ name: string) -> (Reference<Location>, error)
// .NET Standard 2.0
static func LoadLocation(_ name: string) -> ValueTuple<Reference<Location>, error>

 

// .NET, Island
func LoadLocation(name string) (Reference<Location>, error)
// .NET Standard 2.0
func LoadLocation(name string) ValueTuple<Reference<Location>, error>

Parameters:

  • name:

LoadLocationFromTZData

 

// .NET, Island
class method LoadLocationFromTZData(name: string; data: Slice<Byte>): tuple of (Reference<Location>, error)
// .NET Standard 2.0
class method LoadLocationFromTZData(name: string; data: Slice<Byte>): ValueTuple<Reference<Location>, error>

 

// .NET, Island
static (Reference<Location>, error) LoadLocationFromTZData(string name, Slice<Byte> data)
// .NET Standard 2.0
static ValueTuple<Reference<Location>, error> LoadLocationFromTZData(string name, Slice<Byte> data)

 

// .NET, Island
static func LoadLocationFromTZData(_ name: string, _ data: Slice<Byte>) -> (Reference<Location>, error)
// .NET Standard 2.0
static func LoadLocationFromTZData(_ name: string, _ data: Slice<Byte>) -> ValueTuple<Reference<Location>, error>

 

// .NET, Island
func LoadLocationFromTZData(name string, data Slice<Byte>) (Reference<Location>, error)
// .NET Standard 2.0
func LoadLocationFromTZData(name string, data Slice<Byte>) ValueTuple<Reference<Location>, error>

Parameters:

  • name:
  • data:

Local

 

class var Local: Reference<Location>;

 

static Reference<Location> Local

 

static var Local: Reference<Location>

 

Local Reference<Location>

March

 

const March: Month = 3;

 

const Month March = 3

 

static let March: Month = 3

 

const March Month =  = 3

May

 

const May: Month = 5;

 

const Month May = 5

 

static let May: Month = 5

 

const May Month =  = 5

Microsecond

 

const Microsecond: Int64 = 1000;

 

const Int64 Microsecond = 1000

 

static let Microsecond: Int64 = 1000

 

const Microsecond Int64 =  = 1000

Millisecond

 

const Millisecond: Int64 = 1000000;

 

const Int64 Millisecond = 1000000

 

static let Millisecond: Int64 = 1000000

 

const Millisecond Int64 =  = 1000000

Minute

 

const Minute: Int64 = 60000000000;

 

const Int64 Minute = 60000000000

 

static let Minute: Int64 = 60000000000

 

const Minute Int64 =  = 60000000000

Monday

 

const Monday: Weekday = 1;

 

const Weekday Monday = 1

 

static let Monday: Weekday = 1

 

const Monday Weekday =  = 1

Nanosecond

 

const Nanosecond: Duration = 1;

 

const Duration Nanosecond = 1

 

static let Nanosecond: Duration = 1

 

const Nanosecond Duration =  = 1

NewTicker

 

class method NewTicker(d: Duration): Reference<Ticker>

 

static Reference<Ticker> NewTicker(Duration d)

 

static func NewTicker(_ d: Duration) -> Reference<Ticker>

 

func NewTicker(d Duration) Reference<Ticker>

Parameters:

  • d:

NewTimer

 

class method NewTimer(d: Duration): Reference<Timer>

 

static Reference<Timer> NewTimer(Duration d)

 

static func NewTimer(_ d: Duration) -> Reference<Timer>

 

func NewTimer(d Duration) Reference<Timer>

Parameters:

  • d:

November

 

const November: Month = 11;

 

const Month November = 11

 

static let November: Month = 11

 

const November Month =  = 11

Now

 

class method Now: Time

 

static Time Now()

 

static func Now() -> Time

 

func Now() Time

October

 

const October: Month = 10;

 

const Month October = 10

 

static let October: Month = 10

 

const October Month =  = 10

Parse

 

// .NET, Island
class method Parse(layout: string; value: string): tuple of (Time, error)
// .NET Standard 2.0
class method Parse(layout: string; value: string): ValueTuple<Time, error>

 

// .NET, Island
static (Time, error) Parse(string layout, string value)
// .NET Standard 2.0
static ValueTuple<Time, error> Parse(string layout, string value)

 

// .NET, Island
static func Parse(_ layout: string, _ value: string) -> (Time, error)
// .NET Standard 2.0
static func Parse(_ layout: string, _ value: string) -> ValueTuple<Time, error>

 

// .NET, Island
func Parse(layout string, value string) (Time, error)
// .NET Standard 2.0
func Parse(layout string, value string) ValueTuple<Time, error>

Parameters:

  • layout:
  • value:

ParseDuration

 

// .NET, Island
class method ParseDuration(s: string): tuple of (Duration, error)
// .NET Standard 2.0
class method ParseDuration(s: string): ValueTuple<Duration, error>

 

// .NET, Island
static (Duration, error) ParseDuration(string s)
// .NET Standard 2.0
static ValueTuple<Duration, error> ParseDuration(string s)

 

// .NET, Island
static func ParseDuration(_ s: string) -> (Duration, error)
// .NET Standard 2.0
static func ParseDuration(_ s: string) -> ValueTuple<Duration, error>

 

// .NET, Island
func ParseDuration(s string) (Duration, error)
// .NET Standard 2.0
func ParseDuration(s string) ValueTuple<Duration, error>

Parameters:

  • s:

ParseInLocation

 

// .NET, Island
class method ParseInLocation(layout: string; value: string; loc: Reference<Location>): tuple of (Time, error)
// .NET Standard 2.0
class method ParseInLocation(layout: string; value: string; loc: Reference<Location>): ValueTuple<Time, error>

 

// .NET, Island
static (Time, error) ParseInLocation(string layout, string value, Reference<Location> loc)
// .NET Standard 2.0
static ValueTuple<Time, error> ParseInLocation(string layout, string value, Reference<Location> loc)

 

// .NET, Island
static func ParseInLocation(_ layout: string, _ value: string, _ loc: Reference<Location>) -> (Time, error)
// .NET Standard 2.0
static func ParseInLocation(_ layout: string, _ value: string, _ loc: Reference<Location>) -> ValueTuple<Time, error>

 

// .NET, Island
func ParseInLocation(layout string, value string, loc Reference<Location>) (Time, error)
// .NET Standard 2.0
func ParseInLocation(layout string, value string, loc Reference<Location>) ValueTuple<Time, error>

Parameters:

  • layout:
  • value:
  • loc:

RFC1123

 

const RFC1123: String = "Mon, 02 Jan 2006 15:04:05 MST";

 

const String RFC1123 = "Mon, 02 Jan 2006 15:04:05 MST"

 

static let RFC1123: String = "Mon, 02 Jan 2006 15:04:05 MST"

 

const RFC1123 String =  = "Mon, 02 Jan 2006 15:04:05 MST"

RFC1123Z

 

const RFC1123Z: String = "Mon, 02 Jan 2006 15:04:05 -0700";

 

const String RFC1123Z = "Mon, 02 Jan 2006 15:04:05 -0700"

 

static let RFC1123Z: String = "Mon, 02 Jan 2006 15:04:05 -0700"

 

const RFC1123Z String =  = "Mon, 02 Jan 2006 15:04:05 -0700"

RFC3339

 

const RFC3339: String = "2006-01-02T15:04:05Z07:00";

 

const String RFC3339 = "2006-01-02T15:04:05Z07:00"

 

static let RFC3339: String = "2006-01-02T15:04:05Z07:00"

 

const RFC3339 String =  = "2006-01-02T15:04:05Z07:00"

RFC3339Nano

 

const RFC3339Nano: String = "2006-01-02T15:04:05.999999999Z07:00";

 

const String RFC3339Nano = "2006-01-02T15:04:05.999999999Z07:00"

 

static let RFC3339Nano: String = "2006-01-02T15:04:05.999999999Z07:00"

 

const RFC3339Nano String =  = "2006-01-02T15:04:05.999999999Z07:00"

RFC822

 

const RFC822: String = "02 Jan 06 15:04 MST";

 

const String RFC822 = "02 Jan 06 15:04 MST"

 

static let RFC822: String = "02 Jan 06 15:04 MST"

 

const RFC822 String =  = "02 Jan 06 15:04 MST"

RFC822Z

 

const RFC822Z: String = "02 Jan 06 15:04 -0700";

 

const String RFC822Z = "02 Jan 06 15:04 -0700"

 

static let RFC822Z: String = "02 Jan 06 15:04 -0700"

 

const RFC822Z String =  = "02 Jan 06 15:04 -0700"

RFC850

 

const RFC850: String = "Monday, 02-Jan-06 15:04:05 MST";

 

const String RFC850 = "Monday, 02-Jan-06 15:04:05 MST"

 

static let RFC850: String = "Monday, 02-Jan-06 15:04:05 MST"

 

const RFC850 String =  = "Monday, 02-Jan-06 15:04:05 MST"

RubyDate

 

const RubyDate: String = "Mon Jan 02 15:04:05 -0700 2006";

 

const String RubyDate = "Mon Jan 02 15:04:05 -0700 2006"

 

static let RubyDate: String = "Mon Jan 02 15:04:05 -0700 2006"

 

const RubyDate String =  = "Mon Jan 02 15:04:05 -0700 2006"

Saturday

 

const Saturday: Weekday = 6;

 

const Weekday Saturday = 6

 

static let Saturday: Weekday = 6

 

const Saturday Weekday =  = 6

Second

 

const Second: Int64 = 1000000000;

 

const Int64 Second = 1000000000

 

static let Second: Int64 = 1000000000

 

const Second Int64 =  = 1000000000

September

 

const September: Month = 9;

 

const Month September = 9

 

static let September: Month = 9

 

const September Month =  = 9

Since

 

class method Since(t: Time): Duration

 

static Duration Since(Time t)

 

static func Since(_ t: Time) -> Duration

 

func Since(t Time) Duration

Parameters:

  • t:

Sleep

 

class method Sleep(x: Duration)

 

static void Sleep(Duration x)

 

static func Sleep(_ x: Duration)

 

func Sleep(x Duration)

Parameters:

  • x:

Stamp

 

const Stamp: String = "Jan _2 15:04:05";

 

const String Stamp = "Jan _2 15:04:05"

 

static let Stamp: String = "Jan _2 15:04:05"

 

const Stamp String =  = "Jan _2 15:04:05"

StampMicro

 

const StampMicro: String = "Jan _2 15:04:05.000000";

 

const String StampMicro = "Jan _2 15:04:05.000000"

 

static let StampMicro: String = "Jan _2 15:04:05.000000"

 

const StampMicro String =  = "Jan _2 15:04:05.000000"

StampMilli

 

const StampMilli: String = "Jan _2 15:04:05.000";

 

const String StampMilli = "Jan _2 15:04:05.000"

 

static let StampMilli: String = "Jan _2 15:04:05.000"

 

const StampMilli String =  = "Jan _2 15:04:05.000"

StampNano

 

const StampNano: String = "Jan _2 15:04:05.000000000";

 

const String StampNano = "Jan _2 15:04:05.000000000"

 

static let StampNano: String = "Jan _2 15:04:05.000000000"

 

const StampNano String =  = "Jan _2 15:04:05.000000000"

Sunday

 

const Sunday: Weekday = 0;

 

const Weekday Sunday = 0

 

static let Sunday: Weekday = 0

 

const Sunday Weekday =  = 0

Thursday

 

const Thursday: Weekday = 4;

 

const Weekday Thursday = 4

 

static let Thursday: Weekday = 4

 

const Thursday Weekday =  = 4

Tick

 

class method Tick(d: Duration): ReceivingChannel<Time>

 

static ReceivingChannel<Time> Tick(Duration d)

 

static func Tick(_ d: Duration) -> ReceivingChannel<Time>

 

func Tick(d Duration) ReceivingChannel<Time>

Parameters:

  • d:

Tuesday

 

const Tuesday: Weekday = 2;

 

const Weekday Tuesday = 2

 

static let Tuesday: Weekday = 2

 

const Tuesday Weekday =  = 2

Unix

 

class method Unix(sec: int64; nsec: int64): Time

 

static Time Unix(int64 sec, int64 nsec)

 

static func Unix(_ sec: int64, _ nsec: int64) -> Time

 

func Unix(sec int64, nsec int64) Time

Parameters:

  • sec:
  • nsec:

UnixDate

 

const UnixDate: String = "Mon Jan _2 15:04:05 MST 2006";

 

const String UnixDate = "Mon Jan _2 15:04:05 MST 2006"

 

static let UnixDate: String = "Mon Jan _2 15:04:05 MST 2006"

 

const UnixDate String =  = "Mon Jan _2 15:04:05 MST 2006"

Until

 

class method Until(t: Time): Duration

 

static Duration Until(Time t)

 

static func Until(_ t: Time) -> Duration

 

func Until(t Time) Duration

Parameters:

  • t:

UTC

 

class var UTC: Reference<Location>;

 

static Reference<Location> UTC

 

static var UTC: Reference<Location>

Wednesday

 

const Wednesday: Weekday = 3;

 

const Weekday Wednesday = 3

 

static let Wednesday: Weekday = 3

 

const Wednesday Weekday =  = 3

 

ANSIC

 

const ANSIC: String = "Mon Jan _2 15:04:05 2006";

 

const String ANSIC = "Mon Jan _2 15:04:05 2006"

 

static let ANSIC: String = "Mon Jan _2 15:04:05 2006"

 

const ANSIC String =  = "Mon Jan _2 15:04:05 2006"

April

 

const April: Month = 4;

 

const Month April = 4

 

static let April: Month = 4

 

const April Month =  = 4

August

 

const August: Month = 8;

 

const Month August = 8

 

static let August: Month = 8

 

const August Month =  = 8

December

 

const December: Month = 12;

 

const Month December = 12

 

static let December: Month = 12

 

const December Month =  = 12

February

 

const February: Month = 2;

 

const Month February = 2

 

static let February: Month = 2

 

const February Month =  = 2

Friday

 

const Friday: Weekday = 5;

 

const Weekday Friday = 5

 

static let Friday: Weekday = 5

 

const Friday Weekday =  = 5

Hour

 

const Hour: Int64 = 3600000000000;

 

const Int64 Hour = 3600000000000

 

static let Hour: Int64 = 3600000000000

 

const Hour Int64 =  = 3600000000000

January

 

const January: Month = 1;

 

const Month January = 1

 

static let January: Month = 1

 

const January Month =  = 1

July

 

const July: Month = 7;

 

const Month July = 7

 

static let July: Month = 7

 

const July Month =  = 7

June

 

const June: Month = 6;

 

const Month June = 6

 

static let June: Month = 6

 

const June Month =  = 6

Kitchen

 

const Kitchen: String = "3:04PM";

 

const String Kitchen = "3:04PM"

 

static let Kitchen: String = "3:04PM"

 

const Kitchen String =  = "3:04PM"

March

 

const March: Month = 3;

 

const Month March = 3

 

static let March: Month = 3

 

const March Month =  = 3

May

 

const May: Month = 5;

 

const Month May = 5

 

static let May: Month = 5

 

const May Month =  = 5

Microsecond

 

const Microsecond: Int64 = 1000;

 

const Int64 Microsecond = 1000

 

static let Microsecond: Int64 = 1000

 

const Microsecond Int64 =  = 1000

Millisecond

 

const Millisecond: Int64 = 1000000;

 

const Int64 Millisecond = 1000000

 

static let Millisecond: Int64 = 1000000

 

const Millisecond Int64 =  = 1000000

Minute

 

const Minute: Int64 = 60000000000;

 

const Int64 Minute = 60000000000

 

static let Minute: Int64 = 60000000000

 

const Minute Int64 =  = 60000000000

Monday

 

const Monday: Weekday = 1;

 

const Weekday Monday = 1

 

static let Monday: Weekday = 1

 

const Monday Weekday =  = 1

Nanosecond

 

const Nanosecond: Duration = 1;

 

const Duration Nanosecond = 1

 

static let Nanosecond: Duration = 1

 

const Nanosecond Duration =  = 1

November

 

const November: Month = 11;

 

const Month November = 11

 

static let November: Month = 11

 

const November Month =  = 11

October

 

const October: Month = 10;

 

const Month October = 10

 

static let October: Month = 10

 

const October Month =  = 10

RFC1123

 

const RFC1123: String = "Mon, 02 Jan 2006 15:04:05 MST";

 

const String RFC1123 = "Mon, 02 Jan 2006 15:04:05 MST"

 

static let RFC1123: String = "Mon, 02 Jan 2006 15:04:05 MST"

 

const RFC1123 String =  = "Mon, 02 Jan 2006 15:04:05 MST"

RFC1123Z

 

const RFC1123Z: String = "Mon, 02 Jan 2006 15:04:05 -0700";

 

const String RFC1123Z = "Mon, 02 Jan 2006 15:04:05 -0700"

 

static let RFC1123Z: String = "Mon, 02 Jan 2006 15:04:05 -0700"

 

const RFC1123Z String =  = "Mon, 02 Jan 2006 15:04:05 -0700"

RFC3339

 

const RFC3339: String = "2006-01-02T15:04:05Z07:00";

 

const String RFC3339 = "2006-01-02T15:04:05Z07:00"

 

static let RFC3339: String = "2006-01-02T15:04:05Z07:00"

 

const RFC3339 String =  = "2006-01-02T15:04:05Z07:00"

RFC3339Nano

 

const RFC3339Nano: String = "2006-01-02T15:04:05.999999999Z07:00";

 

const String RFC3339Nano = "2006-01-02T15:04:05.999999999Z07:00"

 

static let RFC3339Nano: String = "2006-01-02T15:04:05.999999999Z07:00"

 

const RFC3339Nano String =  = "2006-01-02T15:04:05.999999999Z07:00"

RFC822

 

const RFC822: String = "02 Jan 06 15:04 MST";

 

const String RFC822 = "02 Jan 06 15:04 MST"

 

static let RFC822: String = "02 Jan 06 15:04 MST"

 

const RFC822 String =  = "02 Jan 06 15:04 MST"

RFC822Z

 

const RFC822Z: String = "02 Jan 06 15:04 -0700";

 

const String RFC822Z = "02 Jan 06 15:04 -0700"

 

static let RFC822Z: String = "02 Jan 06 15:04 -0700"

 

const RFC822Z String =  = "02 Jan 06 15:04 -0700"

RFC850

 

const RFC850: String = "Monday, 02-Jan-06 15:04:05 MST";

 

const String RFC850 = "Monday, 02-Jan-06 15:04:05 MST"

 

static let RFC850: String = "Monday, 02-Jan-06 15:04:05 MST"

 

const RFC850 String =  = "Monday, 02-Jan-06 15:04:05 MST"

RubyDate

 

const RubyDate: String = "Mon Jan 02 15:04:05 -0700 2006";

 

const String RubyDate = "Mon Jan 02 15:04:05 -0700 2006"

 

static let RubyDate: String = "Mon Jan 02 15:04:05 -0700 2006"

 

const RubyDate String =  = "Mon Jan 02 15:04:05 -0700 2006"

Saturday

 

const Saturday: Weekday = 6;

 

const Weekday Saturday = 6

 

static let Saturday: Weekday = 6

 

const Saturday Weekday =  = 6

Second

 

const Second: Int64 = 1000000000;

 

const Int64 Second = 1000000000

 

static let Second: Int64 = 1000000000

 

const Second Int64 =  = 1000000000

September

 

const September: Month = 9;

 

const Month September = 9

 

static let September: Month = 9

 

const September Month =  = 9

Stamp

 

const Stamp: String = "Jan _2 15:04:05";

 

const String Stamp = "Jan _2 15:04:05"

 

static let Stamp: String = "Jan _2 15:04:05"

 

const Stamp String =  = "Jan _2 15:04:05"

StampMicro

 

const StampMicro: String = "Jan _2 15:04:05.000000";

 

const String StampMicro = "Jan _2 15:04:05.000000"

 

static let StampMicro: String = "Jan _2 15:04:05.000000"

 

const StampMicro String =  = "Jan _2 15:04:05.000000"

StampMilli

 

const StampMilli: String = "Jan _2 15:04:05.000";

 

const String StampMilli = "Jan _2 15:04:05.000"

 

static let StampMilli: String = "Jan _2 15:04:05.000"

 

const StampMilli String =  = "Jan _2 15:04:05.000"

StampNano

 

const StampNano: String = "Jan _2 15:04:05.000000000";

 

const String StampNano = "Jan _2 15:04:05.000000000"

 

static let StampNano: String = "Jan _2 15:04:05.000000000"

 

const StampNano String =  = "Jan _2 15:04:05.000000000"

Sunday

 

const Sunday: Weekday = 0;

 

const Weekday Sunday = 0

 

static let Sunday: Weekday = 0

 

const Sunday Weekday =  = 0

Thursday

 

const Thursday: Weekday = 4;

 

const Weekday Thursday = 4

 

static let Thursday: Weekday = 4

 

const Thursday Weekday =  = 4

Tuesday

 

const Tuesday: Weekday = 2;

 

const Weekday Tuesday = 2

 

static let Tuesday: Weekday = 2

 

const Tuesday Weekday =  = 2

UnixDate

 

const UnixDate: String = "Mon Jan _2 15:04:05 MST 2006";

 

const String UnixDate = "Mon Jan _2 15:04:05 MST 2006"

 

static let UnixDate: String = "Mon Jan _2 15:04:05 MST 2006"

 

const UnixDate String =  = "Mon Jan _2 15:04:05 MST 2006"

Wednesday

 

const Wednesday: Weekday = 3;

 

const Weekday Wednesday = 3

 

static let Wednesday: Weekday = 3

 

const Wednesday Weekday =  = 3

 

Local

 

class var Local: Reference<Location>;

 

static Reference<Location> Local

 

static var Local: Reference<Location>

 

Local Reference<Location>

UTC

 

class var UTC: Reference<Location>;

 

static Reference<Location> UTC

 

static var UTC: Reference<Location>

 

After

 

class method After(d: Duration): ReceivingChannel<Time>

 

static ReceivingChannel<Time> After(Duration d)

 

static func After(_ d: Duration) -> ReceivingChannel<Time>

 

func After(d Duration) ReceivingChannel<Time>

Parameters:

  • d:

AfterFunc

 

class method AfterFunc(d: Duration; f: Action): Reference<Timer>

 

static Reference<Timer> AfterFunc(Duration d, Action f)

 

static func AfterFunc(_ d: Duration, _ f: Action) -> Reference<Timer>

 

func AfterFunc(d Duration, f Action) Reference<Timer>

Parameters:

  • d:
  • f:

Date

 

class method Date(year: int; month: Month; day: int; hour: int; min: int; sec: int; nsec: int; loc: Reference<Location>): Time

 

static Time Date(int year, Month month, int day, int hour, int min, int sec, int nsec, Reference<Location> loc)

 

static func Date(_ year: int, _ month: Month, _ day: int, _ hour: int, _ min: int, _ sec: int, _ nsec: int, _ loc: Reference<Location>) -> Time

 

func Date(year int, month Month, day int, hour int, min int, sec int, nsec int, loc Reference<Location>) Time

Parameters:

  • year:
  • month:
  • day:
  • hour:
  • min:
  • sec:
  • nsec:
  • loc:

FixedZone

 

class method FixedZone(name: string; offset: int): Reference<Location>

 

static Reference<Location> FixedZone(string name, int offset)

 

static func FixedZone(_ name: string, _ offset: int) -> Reference<Location>

 

func FixedZone(name string, offset int) Reference<Location>

Parameters:

  • name:
  • offset:

LoadLocation

 

// .NET, Island
class method LoadLocation(name: string): tuple of (Reference<Location>, error)
// .NET Standard 2.0
class method LoadLocation(name: string): ValueTuple<Reference<Location>, error>

 

// .NET, Island
static (Reference<Location>, error) LoadLocation(string name)
// .NET Standard 2.0
static ValueTuple<Reference<Location>, error> LoadLocation(string name)

 

// .NET, Island
static func LoadLocation(_ name: string) -> (Reference<Location>, error)
// .NET Standard 2.0
static func LoadLocation(_ name: string) -> ValueTuple<Reference<Location>, error>

 

// .NET, Island
func LoadLocation(name string) (Reference<Location>, error)
// .NET Standard 2.0
func LoadLocation(name string) ValueTuple<Reference<Location>, error>

Parameters:

  • name:

LoadLocationFromTZData

 

// .NET, Island
class method LoadLocationFromTZData(name: string; data: Slice<Byte>): tuple of (Reference<Location>, error)
// .NET Standard 2.0
class method LoadLocationFromTZData(name: string; data: Slice<Byte>): ValueTuple<Reference<Location>, error>

 

// .NET, Island
static (Reference<Location>, error) LoadLocationFromTZData(string name, Slice<Byte> data)
// .NET Standard 2.0
static ValueTuple<Reference<Location>, error> LoadLocationFromTZData(string name, Slice<Byte> data)

 

// .NET, Island
static func LoadLocationFromTZData(_ name: string, _ data: Slice<Byte>) -> (Reference<Location>, error)
// .NET Standard 2.0
static func LoadLocationFromTZData(_ name: string, _ data: Slice<Byte>) -> ValueTuple<Reference<Location>, error>

 

// .NET, Island
func LoadLocationFromTZData(name string, data Slice<Byte>) (Reference<Location>, error)
// .NET Standard 2.0
func LoadLocationFromTZData(name string, data Slice<Byte>) ValueTuple<Reference<Location>, error>

Parameters:

  • name:
  • data:

NewTicker

 

class method NewTicker(d: Duration): Reference<Ticker>

 

static Reference<Ticker> NewTicker(Duration d)

 

static func NewTicker(_ d: Duration) -> Reference<Ticker>

 

func NewTicker(d Duration) Reference<Ticker>

Parameters:

  • d:

NewTimer

 

class method NewTimer(d: Duration): Reference<Timer>

 

static Reference<Timer> NewTimer(Duration d)

 

static func NewTimer(_ d: Duration) -> Reference<Timer>

 

func NewTimer(d Duration) Reference<Timer>

Parameters:

  • d:

Now

 

class method Now: Time

 

static Time Now()

 

static func Now() -> Time

 

func Now() Time

Parse

 

// .NET, Island
class method Parse(layout: string; value: string): tuple of (Time, error)
// .NET Standard 2.0
class method Parse(layout: string; value: string): ValueTuple<Time, error>

 

// .NET, Island
static (Time, error) Parse(string layout, string value)
// .NET Standard 2.0
static ValueTuple<Time, error> Parse(string layout, string value)

 

// .NET, Island
static func Parse(_ layout: string, _ value: string) -> (Time, error)
// .NET Standard 2.0
static func Parse(_ layout: string, _ value: string) -> ValueTuple<Time, error>

 

// .NET, Island
func Parse(layout string, value string) (Time, error)
// .NET Standard 2.0
func Parse(layout string, value string) ValueTuple<Time, error>

Parameters:

  • layout:
  • value:

ParseDuration

 

// .NET, Island
class method ParseDuration(s: string): tuple of (Duration, error)
// .NET Standard 2.0
class method ParseDuration(s: string): ValueTuple<Duration, error>

 

// .NET, Island
static (Duration, error) ParseDuration(string s)
// .NET Standard 2.0
static ValueTuple<Duration, error> ParseDuration(string s)

 

// .NET, Island
static func ParseDuration(_ s: string) -> (Duration, error)
// .NET Standard 2.0
static func ParseDuration(_ s: string) -> ValueTuple<Duration, error>

 

// .NET, Island
func ParseDuration(s string) (Duration, error)
// .NET Standard 2.0
func ParseDuration(s string) ValueTuple<Duration, error>

Parameters:

  • s:

ParseInLocation

 

// .NET, Island
class method ParseInLocation(layout: string; value: string; loc: Reference<Location>): tuple of (Time, error)
// .NET Standard 2.0
class method ParseInLocation(layout: string; value: string; loc: Reference<Location>): ValueTuple<Time, error>

 

// .NET, Island
static (Time, error) ParseInLocation(string layout, string value, Reference<Location> loc)
// .NET Standard 2.0
static ValueTuple<Time, error> ParseInLocation(string layout, string value, Reference<Location> loc)

 

// .NET, Island
static func ParseInLocation(_ layout: string, _ value: string, _ loc: Reference<Location>) -> (Time, error)
// .NET Standard 2.0
static func ParseInLocation(_ layout: string, _ value: string, _ loc: Reference<Location>) -> ValueTuple<Time, error>

 

// .NET, Island
func ParseInLocation(layout string, value string, loc Reference<Location>) (Time, error)
// .NET Standard 2.0
func ParseInLocation(layout string, value string, loc Reference<Location>) ValueTuple<Time, error>

Parameters:

  • layout:
  • value:
  • loc:

Since

 

class method Since(t: Time): Duration

 

static Duration Since(Time t)

 

static func Since(_ t: Time) -> Duration

 

func Since(t Time) Duration

Parameters:

  • t:

Sleep

 

class method Sleep(x: Duration)

 

static void Sleep(Duration x)

 

static func Sleep(_ x: Duration)

 

func Sleep(x Duration)

Parameters:

  • x:

Tick

 

class method Tick(d: Duration): ReceivingChannel<Time>

 

static ReceivingChannel<Time> Tick(Duration d)

 

static func Tick(_ d: Duration) -> ReceivingChannel<Time>

 

func Tick(d Duration) ReceivingChannel<Time>

Parameters:

  • d:

Unix

 

class method Unix(sec: int64; nsec: int64): Time

 

static Time Unix(int64 sec, int64 nsec)

 

static func Unix(_ sec: int64, _ nsec: int64) -> Time

 

func Unix(sec int64, nsec int64) Time

Parameters:

  • sec:
  • nsec:

Until

 

class method Until(t: Time): Duration

 

static Duration Until(Time t)

 

static func Until(_ t: Time) -> Duration

 

func Until(t Time) Duration

Parameters:

  • t: