format

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2026 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DateFormatClient

type DateFormatClient struct {
	// contains filtered or unexported fields
}

DateFormatClient wraps the gRPC DateFormatService client.

func NewDateFormatClient

func NewDateFormatClient(cc grpc.ClientConnInterface) *DateFormatClient

NewDateFormatClient creates a new DateFormat client.

func (*DateFormatClient) Format2

func (c *DateFormatClient) Format2(ctx context.Context, handle int64, arg0 string, arg1 int64) (int64, error)

Format2 calls the Format2 RPC.

func (*DateFormatClient) Format2_1

func (c *DateFormatClient) Format2_1(ctx context.Context, handle int64, arg0 string, arg1 int64) (int64, error)

Format2_1 calls the Format2_1 RPC.

func (*DateFormatClient) Format2_2

func (c *DateFormatClient) Format2_2(ctx context.Context, handle int64, arg0 string, arg1 int64) (int64, error)

Format2_2 calls the Format2_2 RPC.

func (*DateFormatClient) GetBestDateTimePattern

func (c *DateFormatClient) GetBestDateTimePattern(ctx context.Context, handle int64, arg0 int64, arg1 string) (string, error)

GetBestDateTimePattern calls the GetBestDateTimePattern RPC.

func (*DateFormatClient) GetDateFormat

func (c *DateFormatClient) GetDateFormat(ctx context.Context, handle int64, arg0 int64) (int64, error)

GetDateFormat calls the GetDateFormat RPC.

func (*DateFormatClient) GetDateFormatOrder

func (c *DateFormatClient) GetDateFormatOrder(ctx context.Context, handle int64, arg0 int64) (int64, error)

GetDateFormatOrder calls the GetDateFormatOrder RPC.

func (*DateFormatClient) GetLongDateFormat

func (c *DateFormatClient) GetLongDateFormat(ctx context.Context, handle int64, arg0 int64) (int64, error)

GetLongDateFormat calls the GetLongDateFormat RPC.

func (*DateFormatClient) GetMediumDateFormat

func (c *DateFormatClient) GetMediumDateFormat(ctx context.Context, handle int64, arg0 int64) (int64, error)

GetMediumDateFormat calls the GetMediumDateFormat RPC.

func (*DateFormatClient) GetTimeFormat

func (c *DateFormatClient) GetTimeFormat(ctx context.Context, handle int64, arg0 int64) (int64, error)

GetTimeFormat calls the GetTimeFormat RPC.

func (*DateFormatClient) Is24HourFormat

func (c *DateFormatClient) Is24HourFormat(ctx context.Context, handle int64, arg0 int64) (bool, error)

Is24HourFormat calls the Is24HourFormat RPC.

type DateUtilsClient

type DateUtilsClient struct {
	// contains filtered or unexported fields
}

DateUtilsClient wraps the gRPC DateUtilsService client.

func NewDateUtilsClient

func NewDateUtilsClient(cc grpc.ClientConnInterface) *DateUtilsClient

NewDateUtilsClient creates a new DateUtils client.

func (*DateUtilsClient) FormatDateRange4_2

func (c *DateUtilsClient) FormatDateRange4_2(ctx context.Context, handle int64, arg0 int64, arg1 int64, arg2 int64, arg3 int32) (string, error)

FormatDateRange4_2 calls the FormatDateRange4_2 RPC.

func (*DateUtilsClient) FormatDateRange5

func (c *DateUtilsClient) FormatDateRange5(ctx context.Context, handle int64, arg0 int64, arg1 int64, arg2 int64, arg3 int64, arg4 int32) (int64, error)

FormatDateRange5 calls the FormatDateRange5 RPC.

func (*DateUtilsClient) FormatDateRange6_1

func (c *DateUtilsClient) FormatDateRange6_1(ctx context.Context, handle int64, arg0 int64, arg1 int64, arg2 int64, arg3 int64, arg4 int32, arg5 string) (int64, error)

FormatDateRange6_1 calls the FormatDateRange6_1 RPC.

func (*DateUtilsClient) FormatDateTime

func (c *DateUtilsClient) FormatDateTime(ctx context.Context, handle int64, arg0 int64, arg1 int64, arg2 int32) (string, error)

FormatDateTime calls the FormatDateTime RPC.

func (*DateUtilsClient) FormatElapsedTime1_1

func (c *DateUtilsClient) FormatElapsedTime1_1(ctx context.Context, handle int64, arg0 int64) (string, error)

FormatElapsedTime1_1 calls the FormatElapsedTime1_1 RPC.

func (*DateUtilsClient) FormatElapsedTime2

func (c *DateUtilsClient) FormatElapsedTime2(ctx context.Context, handle int64, arg0 int64, arg1 int64) (string, error)

FormatElapsedTime2 calls the FormatElapsedTime2 RPC.

func (*DateUtilsClient) FormatSameDayTime

func (c *DateUtilsClient) FormatSameDayTime(ctx context.Context, handle int64, arg0 int64, arg1 int64, arg2 int32, arg3 int32) (int64, error)

FormatSameDayTime calls the FormatSameDayTime RPC.

func (*DateUtilsClient) GetAMPMString

func (c *DateUtilsClient) GetAMPMString(ctx context.Context, handle int64, arg0 int32) (string, error)

GetAMPMString calls the GetAMPMString RPC.

func (*DateUtilsClient) GetDayOfWeekString

func (c *DateUtilsClient) GetDayOfWeekString(ctx context.Context, handle int64, arg0 int32, arg1 int32) (string, error)

GetDayOfWeekString calls the GetDayOfWeekString RPC.

func (*DateUtilsClient) GetMonthString

func (c *DateUtilsClient) GetMonthString(ctx context.Context, handle int64, arg0 int32, arg1 int32) (string, error)

GetMonthString calls the GetMonthString RPC.

func (*DateUtilsClient) GetRelativeDateTimeString

func (c *DateUtilsClient) GetRelativeDateTimeString(ctx context.Context, handle int64, arg0 int64, arg1 int64, arg2 int64, arg3 int64, arg4 int32) (int64, error)

GetRelativeDateTimeString calls the GetRelativeDateTimeString RPC.

func (*DateUtilsClient) GetRelativeTimeSpanString1_2

func (c *DateUtilsClient) GetRelativeTimeSpanString1_2(ctx context.Context, handle int64, arg0 int64) (int64, error)

GetRelativeTimeSpanString1_2 calls the GetRelativeTimeSpanString1_2 RPC.

func (*DateUtilsClient) GetRelativeTimeSpanString2

func (c *DateUtilsClient) GetRelativeTimeSpanString2(ctx context.Context, handle int64, arg0 int64, arg1 int64) (int64, error)

GetRelativeTimeSpanString2 calls the GetRelativeTimeSpanString2 RPC.

func (*DateUtilsClient) GetRelativeTimeSpanString3_1

func (c *DateUtilsClient) GetRelativeTimeSpanString3_1(ctx context.Context, handle int64, arg0 int64, arg1 int64, arg2 bool) (int64, error)

GetRelativeTimeSpanString3_1 calls the GetRelativeTimeSpanString3_1 RPC.

func (*DateUtilsClient) GetRelativeTimeSpanString3_3

func (c *DateUtilsClient) GetRelativeTimeSpanString3_3(ctx context.Context, handle int64, arg0 int64, arg1 int64, arg2 int64) (int64, error)

GetRelativeTimeSpanString3_3 calls the GetRelativeTimeSpanString3_3 RPC.

func (*DateUtilsClient) GetRelativeTimeSpanString4_4

func (c *DateUtilsClient) GetRelativeTimeSpanString4_4(ctx context.Context, handle int64, arg0 int64, arg1 int64, arg2 int64, arg3 int32) (int64, error)

GetRelativeTimeSpanString4_4 calls the GetRelativeTimeSpanString4_4 RPC.

func (*DateUtilsClient) IsToday

func (c *DateUtilsClient) IsToday(ctx context.Context, handle int64, arg0 int64) (bool, error)

IsToday calls the IsToday RPC.

type TerClient

type TerClient struct {
	// contains filtered or unexported fields
}

TerClient wraps the gRPC TerService client.

func NewTerClient

func NewTerClient(cc grpc.ClientConnInterface) *TerClient

NewTerClient creates a new ter client.

func (*TerClient) FormatFileSize

func (c *TerClient) FormatFileSize(ctx context.Context, handle int64, arg0 int64, arg1 int64) (string, error)

FormatFileSize calls the FormatFileSize RPC.

func (*TerClient) FormatIpAddress

func (c *TerClient) FormatIpAddress(ctx context.Context, handle int64, arg0 int32) (string, error)

FormatIpAddress calls the FormatIpAddress RPC.

func (*TerClient) FormatShortFileSize

func (c *TerClient) FormatShortFileSize(ctx context.Context, handle int64, arg0 int64, arg1 int64) (string, error)

FormatShortFileSize calls the FormatShortFileSize RPC.

type TimeClient

type TimeClient struct {
	// contains filtered or unexported fields
}

TimeClient wraps the gRPC TimeService client.

func NewTimeClient

func NewTimeClient(cc grpc.ClientConnInterface) *TimeClient

NewTimeClient creates a new Time client.

func (*TimeClient) After

func (c *TimeClient) After(ctx context.Context, handle int64, arg0 int64) (bool, error)

After calls the After RPC.

func (*TimeClient) Before

func (c *TimeClient) Before(ctx context.Context, handle int64, arg0 int64) (bool, error)

Before calls the Before RPC.

func (*TimeClient) Clear

func (c *TimeClient) Clear(ctx context.Context, handle int64, arg0 string) error

Clear calls the Clear RPC.

func (*TimeClient) Compare

func (c *TimeClient) Compare(ctx context.Context, handle int64, arg0 int64, arg1 int64) (int32, error)

Compare calls the Compare RPC.

func (*TimeClient) Format

func (c *TimeClient) Format(ctx context.Context, handle int64, arg0 string) (string, error)

Format calls the Format RPC.

func (*TimeClient) Format2445

func (c *TimeClient) Format2445(ctx context.Context, handle int64) (string, error)

Format2445 calls the Format2445 RPC.

func (*TimeClient) Format3339

func (c *TimeClient) Format3339(ctx context.Context, handle int64, arg0 bool) (string, error)

Format3339 calls the Format3339 RPC.

func (*TimeClient) GetActualMaximum

func (c *TimeClient) GetActualMaximum(ctx context.Context, handle int64, arg0 int32) (int32, error)

GetActualMaximum calls the GetActualMaximum RPC.

func (*TimeClient) GetCurrentTimezone

func (c *TimeClient) GetCurrentTimezone(ctx context.Context, handle int64) (string, error)

GetCurrentTimezone calls the GetCurrentTimezone RPC.

func (*TimeClient) GetJulianDay

func (c *TimeClient) GetJulianDay(ctx context.Context, handle int64, arg0 int64, arg1 int64) (int32, error)

GetJulianDay calls the GetJulianDay RPC.

func (*TimeClient) GetJulianMondayFromWeeksSinceEpoch

func (c *TimeClient) GetJulianMondayFromWeeksSinceEpoch(ctx context.Context, handle int64, arg0 int32) (int32, error)

GetJulianMondayFromWeeksSinceEpoch calls the GetJulianMondayFromWeeksSinceEpoch RPC.

func (*TimeClient) GetWeekNumber

func (c *TimeClient) GetWeekNumber(ctx context.Context, handle int64) (int32, error)

GetWeekNumber calls the GetWeekNumber RPC.

func (*TimeClient) GetWeeksSinceEpochFromJulianDay

func (c *TimeClient) GetWeeksSinceEpochFromJulianDay(ctx context.Context, handle int64, arg0 int32, arg1 int32) (int32, error)

GetWeeksSinceEpochFromJulianDay calls the GetWeeksSinceEpochFromJulianDay RPC.

func (*TimeClient) IsEpoch

func (c *TimeClient) IsEpoch(ctx context.Context, handle int64, arg0 int64) (bool, error)

IsEpoch calls the IsEpoch RPC.

func (*TimeClient) Normalize

func (c *TimeClient) Normalize(ctx context.Context, handle int64, arg0 bool) (int64, error)

Normalize calls the Normalize RPC.

func (*TimeClient) Parse

func (c *TimeClient) Parse(ctx context.Context, handle int64, arg0 string) (bool, error)

Parse calls the Parse RPC.

func (*TimeClient) Parse3339

func (c *TimeClient) Parse3339(ctx context.Context, handle int64, arg0 string) (bool, error)

Parse3339 calls the Parse3339 RPC.

func (*TimeClient) Set1

func (c *TimeClient) Set1(ctx context.Context, handle int64, arg0 int64) error

Set1 calls the Set1 RPC.

func (*TimeClient) Set1_3

func (c *TimeClient) Set1_3(ctx context.Context, handle int64, arg0 int64) error

Set1_3 calls the Set1_3 RPC.

func (*TimeClient) Set3_1

func (c *TimeClient) Set3_1(ctx context.Context, handle int64, arg0 int32, arg1 int32, arg2 int32) error

Set3_1 calls the Set3_1 RPC.

func (*TimeClient) Set6_2

func (c *TimeClient) Set6_2(ctx context.Context, handle int64, arg0 int32, arg1 int32, arg2 int32, arg3 int32, arg4 int32, arg5 int32) error

Set6_2 calls the Set6_2 RPC.

func (*TimeClient) SetJulianDay

func (c *TimeClient) SetJulianDay(ctx context.Context, handle int64, arg0 int32) (int64, error)

SetJulianDay calls the SetJulianDay RPC.

func (*TimeClient) SetToNow

func (c *TimeClient) SetToNow(ctx context.Context, handle int64) error

SetToNow calls the SetToNow RPC.

func (*TimeClient) SwitchTimezone

func (c *TimeClient) SwitchTimezone(ctx context.Context, handle int64, arg0 string) error

SwitchTimezone calls the SwitchTimezone RPC.

func (*TimeClient) ToMillis

func (c *TimeClient) ToMillis(ctx context.Context, handle int64, arg0 bool) (int64, error)

ToMillis calls the ToMillis RPC.

func (*TimeClient) ToString

func (c *TimeClient) ToString(ctx context.Context, handle int64) (string, error)

ToString calls the ToString RPC.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL