Time
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.time
- Platforms: .NET, .NET Standard 2.0, Island
Instance Methods
constructor
constructor
Time()
init()
Sub New()
// .NET, .NET Standard 2.0
constructor(awall: uint64; aext: int64; aloc: Memory<Location>)
// Island
constructor(awall: uint64; aext: int64; aloc: Memory<Location>)
// .NET, .NET Standard 2.0
Time(uint64 awall, int64 aext, Memory<Location> aloc)
// Island
Time(uint64 awall, int64 aext, Memory<Location> aloc)
Parameters:
- awall:
- aext:
- aloc:
constructor (Time)
Parameters:
- value:
Add
Parameters:
- d:
AddDate
Parameters:
- years:
- months:
- days:
After
Parameters:
- u:
AppendFormat
Parameters:
- b:
- layout:
Before
Parameters:
- u:
Clock
func Clock() -> (Int64, Int64, Int64)
Function Clock() As Tuple (Of Int64, Int64, Int64)
Date
func Date() -> (Int64, Month, Int64)
Function Date() As Tuple (Of Int64, Month, Int64)
Day
Equal
Parameters:
- u:
Format
Parameters:
- layout:
GobEncode
Hour
In
// .NET, .NET Standard 2.0
method In(loc: Memory<Location>): Time
// Island
method In(loc: Memory<Location>): Time
// .NET, .NET Standard 2.0
func In(_ loc: Memory<Location>) -> Time
// Island
func In(_ loc: Memory<Location>) -> Time
Parameters:
- loc:
ISOWeek
func ISOWeek() -> (Int64, Int64)
Function ISOWeek() As Tuple (Of Int64, Int64)
IsZero
method IsZero: bool
bool IsZero()
func IsZero() -> bool
func IsZero() bool
Function IsZero() As bool
Local
Location
// .NET, .NET Standard 2.0
method Location: Memory<Location>
// Island
method Location: Memory<Location>
// .NET, .NET Standard 2.0
func Location() -> Memory<Location>
// Island
func Location() -> Memory<Location>
MarshalBinary
MarshalJSON
MarshalText
Minute
Month
method Month: Month
Month Month()
func Month() -> Month
func Month() Month
Function Month() As Month
Nanosecond
method Nanosecond: int
int Nanosecond()
func Nanosecond() -> int
func Nanosecond() int
Function Nanosecond() As int
Round
Parameters:
- d:
Second
String
method String: string
string String()
func String() -> string
func String() string
Function String() As string
Sub
Parameters:
- u:
Truncate
Parameters:
- d:
Unix
UnixNano
method UnixNano: int64
int64 UnixNano()
func UnixNano() -> int64
func UnixNano() int64
Function UnixNano() As int64
UTC
Weekday
method Weekday: Weekday
Weekday Weekday()
func Weekday() -> Weekday
func Weekday() Weekday
Function Weekday() As Weekday
Year
YearDay
method YearDay: int
int YearDay()
func YearDay() -> int
func YearDay() int
Function YearDay() As int
Zone
func Zone() -> (string, Int64)
Function Zone() As Tuple (Of string, Int64)