Global
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.time
- Platforms: .NET, .NET Standard 2.0, Island
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>
Shared Function After(d As Duration) As ReceivingChannel<Time>
Parameters:
- d:
AfterFunc
// .NET, .NET Standard 2.0
class method AfterFunc(d: Duration; f: Action): Memory<Timer>
// Island
class method AfterFunc(d: Duration; f: Action): Memory<Timer>
// .NET, .NET Standard 2.0
static Memory<Timer> AfterFunc(Duration d, Action f)
// Island
static Memory<Timer> AfterFunc(Duration d, Action f)
// .NET, .NET Standard 2.0
static func AfterFunc(_ d: Duration, _ f: Action) -> Memory<Timer>
// Island
static func AfterFunc(_ d: Duration, _ f: Action) -> Memory<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"
Dim ANSIC As 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
Dim April As Month = 4
August
const August: Month = 8;
const Month August = 8
static let August: Month = 8
const August Month = 8
Dim August As Month = 8
Date
// .NET, .NET Standard 2.0
class method Date(year: int; month: Month; day: int; hour: int; min: int; sec: int; nsec: int; loc: Memory<Location>): Time
// Island
class method Date(year: int; month: Month; day: int; hour: int; min: int; sec: int; nsec: int; loc: Memory<Location>): Time
// .NET, .NET Standard 2.0
static Time Date(int year, Month month, int day, int hour, int min, int sec, int nsec, Memory<Location> loc)
// Island
static Time Date(int year, Month month, int day, int hour, int min, int sec, int nsec, Memory<Location> loc)
// .NET, .NET Standard 2.0
static func Date(_ year: int, _ month: Month, _ day: int, _ hour: int, _ min: int, _ sec: int, _ nsec: int, _ loc: Memory<Location>) -> Time
// Island
static func Date(_ year: int, _ month: Month, _ day: int, _ hour: int, _ min: int, _ sec: int, _ nsec: int, _ loc: Memory<Location>) -> Time
// .NET, .NET Standard 2.0
func Date(year int, month Month, day int, hour int, min int, sec int, nsec int, loc Memory<Location>) Time
// Island
func Date(year int, month Month, day int, hour int, min int, sec int, nsec int, loc Memory<Location>) Time
// .NET, .NET Standard 2.0
Shared Function Date(year As int, month As Month, day As int, hour As int, min As int, sec As int, nsec As int, loc As Memory<Location>) As Time
// Island
Shared Function Date(year As int, month As Month, day As int, hour As int, min As int, sec As int, nsec As int, loc As Memory<Location>) As 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
Dim December As Month = 12
February
const February: Month = 2;
const Month February = 2
static let February: Month = 2
const February Month = 2
Dim February As Month = 2
FixedZone
// .NET, .NET Standard 2.0
class method FixedZone(name: string; offset: int): Memory<Location>
// Island
class method FixedZone(name: string; offset: int): Memory<Location>
// .NET, .NET Standard 2.0
static Memory<Location> FixedZone(string name, int offset)
// Island
static Memory<Location> FixedZone(string name, int offset)
// .NET, .NET Standard 2.0
static func FixedZone(_ name: string, _ offset: int) -> Memory<Location>
// Island
static func FixedZone(_ name: string, _ offset: int) -> Memory<Location>
Parameters:
- name:
- offset:
Friday
const Friday: Weekday = 5;
const Weekday Friday = 5
static let Friday: Weekday = 5
const Friday Weekday = 5
Dim Friday As Weekday = 5
Hour
const Hour: Int64 = 3600000000000;
const Int64 Hour = 3600000000000
static let Hour: Int64 = 3600000000000
const Hour Int64 = 3600000000000
Dim Hour As Int64 = 3600000000000
January
const January: Month = 1;
const Month January = 1
static let January: Month = 1
const January Month = 1
Dim January As Month = 1
July
const July: Month = 7;
const Month July = 7
static let July: Month = 7
const July Month = 7
Dim July As Month = 7
June
const June: Month = 6;
const Month June = 6
static let June: Month = 6
const June Month = 6
Dim June As Month = 6
Kitchen
const Kitchen: String = "3:04PM";
const String Kitchen = "3:04PM"
static let Kitchen: String = "3:04PM"
const Kitchen String = "3:04PM"
Dim Kitchen As String = "3:04PM"
LoadLocation
// .NET, .NET Standard 2.0
class method LoadLocation(name: string): tuple of (Memory<Location>, error)
// Island
class method LoadLocation(name: string): tuple of (Memory<Location>, error)
// .NET, .NET Standard 2.0
static (Memory<Location>, error) LoadLocation(string name)
// Island
static (Memory<Location>, error) LoadLocation(string name)
// .NET, .NET Standard 2.0
static func LoadLocation(_ name: string) -> (Memory<Location>, error)
// Island
static func LoadLocation(_ name: string) -> (Memory<Location>, error)
Parameters:
- name:
LoadLocationFromTZData
// .NET, .NET Standard 2.0
class method LoadLocationFromTZData(name: string; data: Slice<Byte>): tuple of (Memory<Location>, error)
// Island
class method LoadLocationFromTZData(name: string; data: Slice<Byte>): tuple of (Memory<Location>, error)
// .NET, .NET Standard 2.0
static (Memory<Location>, error) LoadLocationFromTZData(string name, Slice<Byte> data)
// Island
static (Memory<Location>, error) LoadLocationFromTZData(string name, Slice<Byte> data)
// .NET, .NET Standard 2.0
static func LoadLocationFromTZData(_ name: string, _ data: Slice<Byte>) -> (Memory<Location>, error)
// Island
static func LoadLocationFromTZData(_ name: string, _ data: Slice<Byte>) -> (Memory<Location>, error)
Parameters:
- name:
- data:
Local
// .NET, .NET Standard 2.0
class var Local: Memory<Location>;
// Island
class var Local: Memory<Location>;
March
const March: Month = 3;
const Month March = 3
static let March: Month = 3
const March Month = 3
Dim March As Month = 3
May
const May: Month = 5;
const Month May = 5
static let May: Month = 5
const May Month = 5
Dim May As Month = 5
Microsecond
const Microsecond: Int64 = 1000;
const Int64 Microsecond = 1000
static let Microsecond: Int64 = 1000
const Microsecond Int64 = 1000
Dim Microsecond As Int64 = 1000
Millisecond
const Millisecond: Int64 = 1000000;
const Int64 Millisecond = 1000000
static let Millisecond: Int64 = 1000000
const Millisecond Int64 = 1000000
Dim Millisecond As Int64 = 1000000
Minute
const Minute: Int64 = 60000000000;
const Int64 Minute = 60000000000
static let Minute: Int64 = 60000000000
const Minute Int64 = 60000000000
Dim Minute As Int64 = 60000000000
Monday
const Monday: Weekday = 1;
const Weekday Monday = 1
static let Monday: Weekday = 1
const Monday Weekday = 1
Dim Monday As Weekday = 1
Nanosecond
const Nanosecond: Duration = 1;
const Duration Nanosecond = 1
static let Nanosecond: Duration = 1
const Nanosecond Duration = 1
Dim Nanosecond As Duration = 1
NewTicker
// .NET, .NET Standard 2.0
class method NewTicker(d: Duration): Memory<Ticker>
// Island
class method NewTicker(d: Duration): Memory<Ticker>
// .NET, .NET Standard 2.0
static Memory<Ticker> NewTicker(Duration d)
// Island
static Memory<Ticker> NewTicker(Duration d)
// .NET, .NET Standard 2.0
static func NewTicker(_ d: Duration) -> Memory<Ticker>
// Island
static func NewTicker(_ d: Duration) -> Memory<Ticker>
Parameters:
- d:
NewTimer
// .NET, .NET Standard 2.0
class method NewTimer(d: Duration): Memory<Timer>
// Island
class method NewTimer(d: Duration): Memory<Timer>
// .NET, .NET Standard 2.0
static Memory<Timer> NewTimer(Duration d)
// Island
static Memory<Timer> NewTimer(Duration d)
// .NET, .NET Standard 2.0
static func NewTimer(_ d: Duration) -> Memory<Timer>
// Island
static func NewTimer(_ d: Duration) -> Memory<Timer>
Parameters:
- d:
November
const November: Month = 11;
const Month November = 11
static let November: Month = 11
const November Month = 11
Dim November As Month = 11
Now
class method Now: Time
static Time Now()
static func Now() -> Time
func Now() Time
Shared Function Now() As Time
October
const October: Month = 10;
const Month October = 10
static let October: Month = 10
const October Month = 10
Dim October As Month = 10
Parse
Parameters:
- layout:
- value:
ParseDuration
Parameters:
- s:
ParseInLocation
// .NET, .NET Standard 2.0
class method ParseInLocation(layout: string; value: string; loc: Memory<Location>): tuple of (Time, error)
// Island
class method ParseInLocation(layout: string; value: string; loc: Memory<Location>): tuple of (Time, error)
// .NET, .NET Standard 2.0
static (Time, error) ParseInLocation(string layout, string value, Memory<Location> loc)
// Island
static (Time, error) ParseInLocation(string layout, string value, Memory<Location> loc)
// .NET, .NET Standard 2.0
static func ParseInLocation(_ layout: string, _ value: string, _ loc: Memory<Location>) -> (Time, error)
// Island
static func ParseInLocation(_ layout: string, _ value: string, _ loc: Memory<Location>) -> (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"
Dim RFC1123 As 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"
Dim RFC1123Z As 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"
Dim RFC3339 As 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"
Dim RFC3339Nano As 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"
Dim RFC822 As 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"
Dim RFC822Z As 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"
Dim RFC850 As 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"
Dim RubyDate As 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
Dim Saturday As Weekday = 6
Second
const Second: Int64 = 1000000000;
const Int64 Second = 1000000000
static let Second: Int64 = 1000000000
const Second Int64 = 1000000000
Dim Second As Int64 = 1000000000
September
const September: Month = 9;
const Month September = 9
static let September: Month = 9
const September Month = 9
Dim September As Month = 9
Since
Parameters:
- t:
Sleep
class method Sleep(x: Duration)
static void Sleep(Duration x)
static func Sleep(_ x: Duration)
Shared Sub Sleep(x As 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"
Dim Stamp As 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"
Dim StampMicro As 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"
Dim StampMilli As 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"
Dim StampNano As 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
Dim Sunday As Weekday = 0
Thursday
const Thursday: Weekday = 4;
const Weekday Thursday = 4
static let Thursday: Weekday = 4
const Thursday Weekday = 4
Dim Thursday As 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>
Shared Function Tick(d As Duration) As ReceivingChannel<Time>
Parameters:
- d:
Tuesday
const Tuesday: Weekday = 2;
const Weekday Tuesday = 2
static let Tuesday: Weekday = 2
const Tuesday Weekday = 2
Dim Tuesday As Weekday = 2
Unix
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"
Dim UnixDate As String = "Mon Jan _2 15:04:05 MST 2006"
Until
Parameters:
- t:
UTC
// .NET, .NET Standard 2.0
class var UTC: Memory<Location>;
// Island
class var UTC: Memory<Location>;
Wednesday
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"
Dim ANSIC As 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
Dim April As Month = 4
August
const August: Month = 8;
const Month August = 8
static let August: Month = 8
const August Month = 8
Dim August As Month = 8
December
const December: Month = 12;
const Month December = 12
static let December: Month = 12
const December Month = 12
Dim December As Month = 12
February
const February: Month = 2;
const Month February = 2
static let February: Month = 2
const February Month = 2
Dim February As Month = 2
Friday
const Friday: Weekday = 5;
const Weekday Friday = 5
static let Friday: Weekday = 5
const Friday Weekday = 5
Dim Friday As Weekday = 5
Hour
const Hour: Int64 = 3600000000000;
const Int64 Hour = 3600000000000
static let Hour: Int64 = 3600000000000
const Hour Int64 = 3600000000000
Dim Hour As Int64 = 3600000000000
January
const January: Month = 1;
const Month January = 1
static let January: Month = 1
const January Month = 1
Dim January As Month = 1
July
const July: Month = 7;
const Month July = 7
static let July: Month = 7
const July Month = 7
Dim July As Month = 7
June
const June: Month = 6;
const Month June = 6
static let June: Month = 6
const June Month = 6
Dim June As Month = 6
Kitchen
const Kitchen: String = "3:04PM";
const String Kitchen = "3:04PM"
static let Kitchen: String = "3:04PM"
const Kitchen String = "3:04PM"
Dim Kitchen As String = "3:04PM"
March
const March: Month = 3;
const Month March = 3
static let March: Month = 3
const March Month = 3
Dim March As Month = 3
May
const May: Month = 5;
const Month May = 5
static let May: Month = 5
const May Month = 5
Dim May As Month = 5
Microsecond
const Microsecond: Int64 = 1000;
const Int64 Microsecond = 1000
static let Microsecond: Int64 = 1000
const Microsecond Int64 = 1000
Dim Microsecond As Int64 = 1000
Millisecond
const Millisecond: Int64 = 1000000;
const Int64 Millisecond = 1000000
static let Millisecond: Int64 = 1000000
const Millisecond Int64 = 1000000
Dim Millisecond As Int64 = 1000000
Minute
const Minute: Int64 = 60000000000;
const Int64 Minute = 60000000000
static let Minute: Int64 = 60000000000
const Minute Int64 = 60000000000
Dim Minute As Int64 = 60000000000
Monday
const Monday: Weekday = 1;
const Weekday Monday = 1
static let Monday: Weekday = 1
const Monday Weekday = 1
Dim Monday As Weekday = 1
Nanosecond
const Nanosecond: Duration = 1;
const Duration Nanosecond = 1
static let Nanosecond: Duration = 1
const Nanosecond Duration = 1
Dim Nanosecond As Duration = 1
November
const November: Month = 11;
const Month November = 11
static let November: Month = 11
const November Month = 11
Dim November As Month = 11
October
const October: Month = 10;
const Month October = 10
static let October: Month = 10
const October Month = 10
Dim October As 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"
Dim RFC1123 As 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"
Dim RFC1123Z As 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"
Dim RFC3339 As 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"
Dim RFC3339Nano As 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"
Dim RFC822 As 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"
Dim RFC822Z As 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"
Dim RFC850 As 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"
Dim RubyDate As 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
Dim Saturday As Weekday = 6
Second
const Second: Int64 = 1000000000;
const Int64 Second = 1000000000
static let Second: Int64 = 1000000000
const Second Int64 = 1000000000
Dim Second As Int64 = 1000000000
September
const September: Month = 9;
const Month September = 9
static let September: Month = 9
const September Month = 9
Dim September As 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"
Dim Stamp As 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"
Dim StampMicro As 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"
Dim StampMilli As 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"
Dim StampNano As 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
Dim Sunday As Weekday = 0
Thursday
const Thursday: Weekday = 4;
const Weekday Thursday = 4
static let Thursday: Weekday = 4
const Thursday Weekday = 4
Dim Thursday As Weekday = 4
Tuesday
const Tuesday: Weekday = 2;
const Weekday Tuesday = 2
static let Tuesday: Weekday = 2
const Tuesday Weekday = 2
Dim Tuesday As 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"
Dim UnixDate As String = "Mon Jan _2 15:04:05 MST 2006"
Wednesday
Local
// .NET, .NET Standard 2.0
class var Local: Memory<Location>;
// Island
class var Local: Memory<Location>;
UTC
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>
Shared Function After(d As Duration) As ReceivingChannel<Time>
Parameters:
- d:
AfterFunc
// .NET, .NET Standard 2.0
class method AfterFunc(d: Duration; f: Action): Memory<Timer>
// Island
class method AfterFunc(d: Duration; f: Action): Memory<Timer>
// .NET, .NET Standard 2.0
static Memory<Timer> AfterFunc(Duration d, Action f)
// Island
static Memory<Timer> AfterFunc(Duration d, Action f)
// .NET, .NET Standard 2.0
static func AfterFunc(_ d: Duration, _ f: Action) -> Memory<Timer>
// Island
static func AfterFunc(_ d: Duration, _ f: Action) -> Memory<Timer>
Parameters:
- d:
- f:
Date
// .NET, .NET Standard 2.0
class method Date(year: int; month: Month; day: int; hour: int; min: int; sec: int; nsec: int; loc: Memory<Location>): Time
// Island
class method Date(year: int; month: Month; day: int; hour: int; min: int; sec: int; nsec: int; loc: Memory<Location>): Time
// .NET, .NET Standard 2.0
static Time Date(int year, Month month, int day, int hour, int min, int sec, int nsec, Memory<Location> loc)
// Island
static Time Date(int year, Month month, int day, int hour, int min, int sec, int nsec, Memory<Location> loc)
// .NET, .NET Standard 2.0
static func Date(_ year: int, _ month: Month, _ day: int, _ hour: int, _ min: int, _ sec: int, _ nsec: int, _ loc: Memory<Location>) -> Time
// Island
static func Date(_ year: int, _ month: Month, _ day: int, _ hour: int, _ min: int, _ sec: int, _ nsec: int, _ loc: Memory<Location>) -> Time
// .NET, .NET Standard 2.0
func Date(year int, month Month, day int, hour int, min int, sec int, nsec int, loc Memory<Location>) Time
// Island
func Date(year int, month Month, day int, hour int, min int, sec int, nsec int, loc Memory<Location>) Time
// .NET, .NET Standard 2.0
Shared Function Date(year As int, month As Month, day As int, hour As int, min As int, sec As int, nsec As int, loc As Memory<Location>) As Time
// Island
Shared Function Date(year As int, month As Month, day As int, hour As int, min As int, sec As int, nsec As int, loc As Memory<Location>) As Time
Parameters:
- year:
- month:
- day:
- hour:
- min:
- sec:
- nsec:
- loc:
FixedZone
// .NET, .NET Standard 2.0
class method FixedZone(name: string; offset: int): Memory<Location>
// Island
class method FixedZone(name: string; offset: int): Memory<Location>
// .NET, .NET Standard 2.0
static Memory<Location> FixedZone(string name, int offset)
// Island
static Memory<Location> FixedZone(string name, int offset)
// .NET, .NET Standard 2.0
static func FixedZone(_ name: string, _ offset: int) -> Memory<Location>
// Island
static func FixedZone(_ name: string, _ offset: int) -> Memory<Location>
Parameters:
- name:
- offset:
LoadLocation
// .NET, .NET Standard 2.0
class method LoadLocation(name: string): tuple of (Memory<Location>, error)
// Island
class method LoadLocation(name: string): tuple of (Memory<Location>, error)
// .NET, .NET Standard 2.0
static (Memory<Location>, error) LoadLocation(string name)
// Island
static (Memory<Location>, error) LoadLocation(string name)
// .NET, .NET Standard 2.0
static func LoadLocation(_ name: string) -> (Memory<Location>, error)
// Island
static func LoadLocation(_ name: string) -> (Memory<Location>, error)
Parameters:
- name:
LoadLocationFromTZData
// .NET, .NET Standard 2.0
class method LoadLocationFromTZData(name: string; data: Slice<Byte>): tuple of (Memory<Location>, error)
// Island
class method LoadLocationFromTZData(name: string; data: Slice<Byte>): tuple of (Memory<Location>, error)
// .NET, .NET Standard 2.0
static (Memory<Location>, error) LoadLocationFromTZData(string name, Slice<Byte> data)
// Island
static (Memory<Location>, error) LoadLocationFromTZData(string name, Slice<Byte> data)
// .NET, .NET Standard 2.0
static func LoadLocationFromTZData(_ name: string, _ data: Slice<Byte>) -> (Memory<Location>, error)
// Island
static func LoadLocationFromTZData(_ name: string, _ data: Slice<Byte>) -> (Memory<Location>, error)
Parameters:
- name:
- data:
NewTicker
// .NET, .NET Standard 2.0
class method NewTicker(d: Duration): Memory<Ticker>
// Island
class method NewTicker(d: Duration): Memory<Ticker>
// .NET, .NET Standard 2.0
static Memory<Ticker> NewTicker(Duration d)
// Island
static Memory<Ticker> NewTicker(Duration d)
// .NET, .NET Standard 2.0
static func NewTicker(_ d: Duration) -> Memory<Ticker>
// Island
static func NewTicker(_ d: Duration) -> Memory<Ticker>
Parameters:
- d:
NewTimer
// .NET, .NET Standard 2.0
class method NewTimer(d: Duration): Memory<Timer>
// Island
class method NewTimer(d: Duration): Memory<Timer>
// .NET, .NET Standard 2.0
static Memory<Timer> NewTimer(Duration d)
// Island
static Memory<Timer> NewTimer(Duration d)
// .NET, .NET Standard 2.0
static func NewTimer(_ d: Duration) -> Memory<Timer>
// Island
static func NewTimer(_ d: Duration) -> Memory<Timer>
Parameters:
- d:
Now
class method Now: Time
static Time Now()
static func Now() -> Time
func Now() Time
Shared Function Now() As Time
Parse
Parameters:
- layout:
- value:
ParseDuration
Parameters:
- s:
ParseInLocation
// .NET, .NET Standard 2.0
class method ParseInLocation(layout: string; value: string; loc: Memory<Location>): tuple of (Time, error)
// Island
class method ParseInLocation(layout: string; value: string; loc: Memory<Location>): tuple of (Time, error)
// .NET, .NET Standard 2.0
static (Time, error) ParseInLocation(string layout, string value, Memory<Location> loc)
// Island
static (Time, error) ParseInLocation(string layout, string value, Memory<Location> loc)
// .NET, .NET Standard 2.0
static func ParseInLocation(_ layout: string, _ value: string, _ loc: Memory<Location>) -> (Time, error)
// Island
static func ParseInLocation(_ layout: string, _ value: string, _ loc: Memory<Location>) -> (Time, error)
Parameters:
- layout:
- value:
- loc:
Since
Parameters:
- t:
Sleep
class method Sleep(x: Duration)
static void Sleep(Duration x)
static func Sleep(_ x: Duration)
Shared Sub Sleep(x As 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>
Shared Function Tick(d As Duration) As ReceivingChannel<Time>
Parameters:
- d:
Unix
Parameters:
- sec:
- nsec:
Until
Parameters:
- t: