Documentation
¶
Index ¶
- type DateFormatServer
- func (s *DateFormatServer) Format2(_ context.Context, req *pb.Format2Request) (*pb.Format2Response, error)
- func (s *DateFormatServer) Format2_1(_ context.Context, req *pb.Format2_1Request) (*pb.Format2_1Response, error)
- func (s *DateFormatServer) Format2_2(_ context.Context, req *pb.Format2_2Request) (*pb.Format2_2Response, error)
- func (s *DateFormatServer) GetBestDateTimePattern(_ context.Context, req *pb.GetBestDateTimePatternRequest) (*pb.GetBestDateTimePatternResponse, error)
- func (s *DateFormatServer) GetDateFormat(_ context.Context, req *pb.GetDateFormatRequest) (*pb.GetDateFormatResponse, error)
- func (s *DateFormatServer) GetDateFormatOrder(_ context.Context, req *pb.GetDateFormatOrderRequest) (*pb.GetDateFormatOrderResponse, error)
- func (s *DateFormatServer) GetLongDateFormat(_ context.Context, req *pb.GetLongDateFormatRequest) (*pb.GetLongDateFormatResponse, error)
- func (s *DateFormatServer) GetMediumDateFormat(_ context.Context, req *pb.GetMediumDateFormatRequest) (*pb.GetMediumDateFormatResponse, error)
- func (s *DateFormatServer) GetTimeFormat(_ context.Context, req *pb.GetTimeFormatRequest) (*pb.GetTimeFormatResponse, error)
- func (s *DateFormatServer) Is24HourFormat(_ context.Context, req *pb.Is24HourFormatRequest) (*pb.Is24HourFormatResponse, error)
- func (s *DateFormatServer) NewDateFormat(_ context.Context, req *pb.NewDateFormatRequest) (*pb.NewDateFormatResponse, error)
- type DateUtilsServer
- func (s *DateUtilsServer) FormatDateRange4_2(_ context.Context, req *pb.FormatDateRange4_2Request) (*pb.FormatDateRange4_2Response, error)
- func (s *DateUtilsServer) FormatDateRange5(_ context.Context, req *pb.FormatDateRange5Request) (*pb.FormatDateRange5Response, error)
- func (s *DateUtilsServer) FormatDateRange6_1(_ context.Context, req *pb.FormatDateRange6_1Request) (*pb.FormatDateRange6_1Response, error)
- func (s *DateUtilsServer) FormatDateTime(_ context.Context, req *pb.FormatDateTimeRequest) (*pb.FormatDateTimeResponse, error)
- func (s *DateUtilsServer) FormatElapsedTime1_1(_ context.Context, req *pb.FormatElapsedTime1_1Request) (*pb.FormatElapsedTime1_1Response, error)
- func (s *DateUtilsServer) FormatElapsedTime2(_ context.Context, req *pb.FormatElapsedTime2Request) (*pb.FormatElapsedTime2Response, error)
- func (s *DateUtilsServer) FormatSameDayTime(_ context.Context, req *pb.FormatSameDayTimeRequest) (*pb.FormatSameDayTimeResponse, error)
- func (s *DateUtilsServer) GetAMPMString(_ context.Context, req *pb.GetAMPMStringRequest) (*pb.GetAMPMStringResponse, error)
- func (s *DateUtilsServer) GetDayOfWeekString(_ context.Context, req *pb.GetDayOfWeekStringRequest) (*pb.GetDayOfWeekStringResponse, error)
- func (s *DateUtilsServer) GetMonthString(_ context.Context, req *pb.GetMonthStringRequest) (*pb.GetMonthStringResponse, error)
- func (s *DateUtilsServer) GetRelativeDateTimeString(_ context.Context, req *pb.GetRelativeDateTimeStringRequest) (*pb.GetRelativeDateTimeStringResponse, error)
- func (s *DateUtilsServer) GetRelativeTimeSpanString1_2(_ context.Context, req *pb.GetRelativeTimeSpanString1_2Request) (*pb.GetRelativeTimeSpanString1_2Response, error)
- func (s *DateUtilsServer) GetRelativeTimeSpanString2(_ context.Context, req *pb.GetRelativeTimeSpanString2Request) (*pb.GetRelativeTimeSpanString2Response, error)
- func (s *DateUtilsServer) GetRelativeTimeSpanString3_1(_ context.Context, req *pb.GetRelativeTimeSpanString3_1Request) (*pb.GetRelativeTimeSpanString3_1Response, error)
- func (s *DateUtilsServer) GetRelativeTimeSpanString3_3(_ context.Context, req *pb.GetRelativeTimeSpanString3_3Request) (*pb.GetRelativeTimeSpanString3_3Response, error)
- func (s *DateUtilsServer) GetRelativeTimeSpanString4_4(_ context.Context, req *pb.GetRelativeTimeSpanString4_4Request) (*pb.GetRelativeTimeSpanString4_4Response, error)
- func (s *DateUtilsServer) IsToday(_ context.Context, req *pb.IsTodayRequest) (*pb.IsTodayResponse, error)
- func (s *DateUtilsServer) NewDateUtils(_ context.Context, req *pb.NewDateUtilsRequest) (*pb.NewDateUtilsResponse, error)
- type TimeServer
- func (s *TimeServer) After(_ context.Context, req *pb.AfterRequest) (*pb.AfterResponse, error)
- func (s *TimeServer) Before(_ context.Context, req *pb.BeforeRequest) (*pb.BeforeResponse, error)
- func (s *TimeServer) Clear(_ context.Context, req *pb.ClearRequest) (*pb.ClearResponse, error)
- func (s *TimeServer) Compare(_ context.Context, req *pb.CompareRequest) (*pb.CompareResponse, error)
- func (s *TimeServer) Format(_ context.Context, req *pb.FormatRequest) (*pb.FormatResponse, error)
- func (s *TimeServer) Format2445(_ context.Context, req *pb.Format2445Request) (*pb.Format2445Response, error)
- func (s *TimeServer) Format3339(_ context.Context, req *pb.Format3339Request) (*pb.Format3339Response, error)
- func (s *TimeServer) GetActualMaximum(_ context.Context, req *pb.GetActualMaximumRequest) (*pb.GetActualMaximumResponse, error)
- func (s *TimeServer) GetCurrentTimezone(_ context.Context, req *pb.GetCurrentTimezoneRequest) (*pb.GetCurrentTimezoneResponse, error)
- func (s *TimeServer) GetJulianDay(_ context.Context, req *pb.GetJulianDayRequest) (*pb.GetJulianDayResponse, error)
- func (s *TimeServer) GetJulianMondayFromWeeksSinceEpoch(_ context.Context, req *pb.GetJulianMondayFromWeeksSinceEpochRequest) (*pb.GetJulianMondayFromWeeksSinceEpochResponse, error)
- func (s *TimeServer) GetWeekNumber(_ context.Context, req *pb.GetWeekNumberRequest) (*pb.GetWeekNumberResponse, error)
- func (s *TimeServer) GetWeeksSinceEpochFromJulianDay(_ context.Context, req *pb.GetWeeksSinceEpochFromJulianDayRequest) (*pb.GetWeeksSinceEpochFromJulianDayResponse, error)
- func (s *TimeServer) IsEpoch(_ context.Context, req *pb.IsEpochRequest) (*pb.IsEpochResponse, error)
- func (s *TimeServer) NewTime(_ context.Context, req *pb.NewTimeRequest) (*pb.NewTimeResponse, error)
- func (s *TimeServer) Normalize(_ context.Context, req *pb.NormalizeRequest) (*pb.NormalizeResponse, error)
- func (s *TimeServer) Parse(_ context.Context, req *pb.ParseRequest) (*pb.ParseResponse, error)
- func (s *TimeServer) Parse3339(_ context.Context, req *pb.Parse3339Request) (*pb.Parse3339Response, error)
- func (s *TimeServer) Set1(_ context.Context, req *pb.Set1Request) (*pb.Set1Response, error)
- func (s *TimeServer) Set1_3(_ context.Context, req *pb.Set1_3Request) (*pb.Set1_3Response, error)
- func (s *TimeServer) Set3_1(_ context.Context, req *pb.Set3_1Request) (*pb.Set3_1Response, error)
- func (s *TimeServer) Set6_2(_ context.Context, req *pb.Set6_2Request) (*pb.Set6_2Response, error)
- func (s *TimeServer) SetJulianDay(_ context.Context, req *pb.SetJulianDayRequest) (*pb.SetJulianDayResponse, error)
- func (s *TimeServer) SetToNow(_ context.Context, req *pb.SetToNowRequest) (*pb.SetToNowResponse, error)
- func (s *TimeServer) SwitchTimezone(_ context.Context, req *pb.SwitchTimezoneRequest) (*pb.SwitchTimezoneResponse, error)
- func (s *TimeServer) ToMillis(_ context.Context, req *pb.ToMillisRequest) (*pb.ToMillisResponse, error)
- func (s *TimeServer) ToString(_ context.Context, req *pb.ToStringRequest) (*pb.ToStringResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DateFormatServer ¶
type DateFormatServer struct {
pb.UnimplementedDateFormatServiceServer
Ctx *app.Context
Handles *handlestore.HandleStore
}
DateFormatServer implements pb.DateFormatServiceServer.
func (*DateFormatServer) Format2 ¶
func (s *DateFormatServer) Format2(_ context.Context, req *pb.Format2Request) (*pb.Format2Response, error)
func (*DateFormatServer) Format2_1 ¶
func (s *DateFormatServer) Format2_1(_ context.Context, req *pb.Format2_1Request) (*pb.Format2_1Response, error)
func (*DateFormatServer) Format2_2 ¶
func (s *DateFormatServer) Format2_2(_ context.Context, req *pb.Format2_2Request) (*pb.Format2_2Response, error)
func (*DateFormatServer) GetBestDateTimePattern ¶
func (s *DateFormatServer) GetBestDateTimePattern(_ context.Context, req *pb.GetBestDateTimePatternRequest) (*pb.GetBestDateTimePatternResponse, error)
func (*DateFormatServer) GetDateFormat ¶
func (s *DateFormatServer) GetDateFormat(_ context.Context, req *pb.GetDateFormatRequest) (*pb.GetDateFormatResponse, error)
func (*DateFormatServer) GetDateFormatOrder ¶
func (s *DateFormatServer) GetDateFormatOrder(_ context.Context, req *pb.GetDateFormatOrderRequest) (*pb.GetDateFormatOrderResponse, error)
func (*DateFormatServer) GetLongDateFormat ¶
func (s *DateFormatServer) GetLongDateFormat(_ context.Context, req *pb.GetLongDateFormatRequest) (*pb.GetLongDateFormatResponse, error)
func (*DateFormatServer) GetMediumDateFormat ¶
func (s *DateFormatServer) GetMediumDateFormat(_ context.Context, req *pb.GetMediumDateFormatRequest) (*pb.GetMediumDateFormatResponse, error)
func (*DateFormatServer) GetTimeFormat ¶
func (s *DateFormatServer) GetTimeFormat(_ context.Context, req *pb.GetTimeFormatRequest) (*pb.GetTimeFormatResponse, error)
func (*DateFormatServer) Is24HourFormat ¶
func (s *DateFormatServer) Is24HourFormat(_ context.Context, req *pb.Is24HourFormatRequest) (*pb.Is24HourFormatResponse, error)
func (*DateFormatServer) NewDateFormat ¶
func (s *DateFormatServer) NewDateFormat(_ context.Context, req *pb.NewDateFormatRequest) (*pb.NewDateFormatResponse, error)
type DateUtilsServer ¶
type DateUtilsServer struct {
pb.UnimplementedDateUtilsServiceServer
Ctx *app.Context
Handles *handlestore.HandleStore
}
DateUtilsServer implements pb.DateUtilsServiceServer.
func (*DateUtilsServer) FormatDateRange4_2 ¶
func (s *DateUtilsServer) FormatDateRange4_2(_ context.Context, req *pb.FormatDateRange4_2Request) (*pb.FormatDateRange4_2Response, error)
func (*DateUtilsServer) FormatDateRange5 ¶
func (s *DateUtilsServer) FormatDateRange5(_ context.Context, req *pb.FormatDateRange5Request) (*pb.FormatDateRange5Response, error)
func (*DateUtilsServer) FormatDateRange6_1 ¶
func (s *DateUtilsServer) FormatDateRange6_1(_ context.Context, req *pb.FormatDateRange6_1Request) (*pb.FormatDateRange6_1Response, error)
func (*DateUtilsServer) FormatDateTime ¶
func (s *DateUtilsServer) FormatDateTime(_ context.Context, req *pb.FormatDateTimeRequest) (*pb.FormatDateTimeResponse, error)
func (*DateUtilsServer) FormatElapsedTime1_1 ¶
func (s *DateUtilsServer) FormatElapsedTime1_1(_ context.Context, req *pb.FormatElapsedTime1_1Request) (*pb.FormatElapsedTime1_1Response, error)
func (*DateUtilsServer) FormatElapsedTime2 ¶
func (s *DateUtilsServer) FormatElapsedTime2(_ context.Context, req *pb.FormatElapsedTime2Request) (*pb.FormatElapsedTime2Response, error)
func (*DateUtilsServer) FormatSameDayTime ¶
func (s *DateUtilsServer) FormatSameDayTime(_ context.Context, req *pb.FormatSameDayTimeRequest) (*pb.FormatSameDayTimeResponse, error)
func (*DateUtilsServer) GetAMPMString ¶
func (s *DateUtilsServer) GetAMPMString(_ context.Context, req *pb.GetAMPMStringRequest) (*pb.GetAMPMStringResponse, error)
func (*DateUtilsServer) GetDayOfWeekString ¶
func (s *DateUtilsServer) GetDayOfWeekString(_ context.Context, req *pb.GetDayOfWeekStringRequest) (*pb.GetDayOfWeekStringResponse, error)
func (*DateUtilsServer) GetMonthString ¶
func (s *DateUtilsServer) GetMonthString(_ context.Context, req *pb.GetMonthStringRequest) (*pb.GetMonthStringResponse, error)
func (*DateUtilsServer) GetRelativeDateTimeString ¶
func (s *DateUtilsServer) GetRelativeDateTimeString(_ context.Context, req *pb.GetRelativeDateTimeStringRequest) (*pb.GetRelativeDateTimeStringResponse, error)
func (*DateUtilsServer) GetRelativeTimeSpanString1_2 ¶
func (s *DateUtilsServer) GetRelativeTimeSpanString1_2(_ context.Context, req *pb.GetRelativeTimeSpanString1_2Request) (*pb.GetRelativeTimeSpanString1_2Response, error)
func (*DateUtilsServer) GetRelativeTimeSpanString2 ¶
func (s *DateUtilsServer) GetRelativeTimeSpanString2(_ context.Context, req *pb.GetRelativeTimeSpanString2Request) (*pb.GetRelativeTimeSpanString2Response, error)
func (*DateUtilsServer) GetRelativeTimeSpanString3_1 ¶
func (s *DateUtilsServer) GetRelativeTimeSpanString3_1(_ context.Context, req *pb.GetRelativeTimeSpanString3_1Request) (*pb.GetRelativeTimeSpanString3_1Response, error)
func (*DateUtilsServer) GetRelativeTimeSpanString3_3 ¶
func (s *DateUtilsServer) GetRelativeTimeSpanString3_3(_ context.Context, req *pb.GetRelativeTimeSpanString3_3Request) (*pb.GetRelativeTimeSpanString3_3Response, error)
func (*DateUtilsServer) GetRelativeTimeSpanString4_4 ¶
func (s *DateUtilsServer) GetRelativeTimeSpanString4_4(_ context.Context, req *pb.GetRelativeTimeSpanString4_4Request) (*pb.GetRelativeTimeSpanString4_4Response, error)
func (*DateUtilsServer) IsToday ¶
func (s *DateUtilsServer) IsToday(_ context.Context, req *pb.IsTodayRequest) (*pb.IsTodayResponse, error)
func (*DateUtilsServer) NewDateUtils ¶
func (s *DateUtilsServer) NewDateUtils(_ context.Context, req *pb.NewDateUtilsRequest) (*pb.NewDateUtilsResponse, error)
type TimeServer ¶
type TimeServer struct {
pb.UnimplementedTimeServiceServer
Ctx *app.Context
Handles *handlestore.HandleStore
}
TimeServer implements pb.TimeServiceServer.
func (*TimeServer) After ¶
func (s *TimeServer) After(_ context.Context, req *pb.AfterRequest) (*pb.AfterResponse, error)
func (*TimeServer) Before ¶
func (s *TimeServer) Before(_ context.Context, req *pb.BeforeRequest) (*pb.BeforeResponse, error)
func (*TimeServer) Clear ¶
func (s *TimeServer) Clear(_ context.Context, req *pb.ClearRequest) (*pb.ClearResponse, error)
func (*TimeServer) Compare ¶
func (s *TimeServer) Compare(_ context.Context, req *pb.CompareRequest) (*pb.CompareResponse, error)
func (*TimeServer) Format ¶
func (s *TimeServer) Format(_ context.Context, req *pb.FormatRequest) (*pb.FormatResponse, error)
func (*TimeServer) Format2445 ¶
func (s *TimeServer) Format2445(_ context.Context, req *pb.Format2445Request) (*pb.Format2445Response, error)
func (*TimeServer) Format3339 ¶
func (s *TimeServer) Format3339(_ context.Context, req *pb.Format3339Request) (*pb.Format3339Response, error)
func (*TimeServer) GetActualMaximum ¶
func (s *TimeServer) GetActualMaximum(_ context.Context, req *pb.GetActualMaximumRequest) (*pb.GetActualMaximumResponse, error)
func (*TimeServer) GetCurrentTimezone ¶
func (s *TimeServer) GetCurrentTimezone(_ context.Context, req *pb.GetCurrentTimezoneRequest) (*pb.GetCurrentTimezoneResponse, error)
func (*TimeServer) GetJulianDay ¶
func (s *TimeServer) GetJulianDay(_ context.Context, req *pb.GetJulianDayRequest) (*pb.GetJulianDayResponse, error)
func (*TimeServer) GetJulianMondayFromWeeksSinceEpoch ¶
func (s *TimeServer) GetJulianMondayFromWeeksSinceEpoch(_ context.Context, req *pb.GetJulianMondayFromWeeksSinceEpochRequest) (*pb.GetJulianMondayFromWeeksSinceEpochResponse, error)
func (*TimeServer) GetWeekNumber ¶
func (s *TimeServer) GetWeekNumber(_ context.Context, req *pb.GetWeekNumberRequest) (*pb.GetWeekNumberResponse, error)
func (*TimeServer) GetWeeksSinceEpochFromJulianDay ¶
func (s *TimeServer) GetWeeksSinceEpochFromJulianDay(_ context.Context, req *pb.GetWeeksSinceEpochFromJulianDayRequest) (*pb.GetWeeksSinceEpochFromJulianDayResponse, error)
func (*TimeServer) IsEpoch ¶
func (s *TimeServer) IsEpoch(_ context.Context, req *pb.IsEpochRequest) (*pb.IsEpochResponse, error)
func (*TimeServer) NewTime ¶
func (s *TimeServer) NewTime(_ context.Context, req *pb.NewTimeRequest) (*pb.NewTimeResponse, error)
func (*TimeServer) Normalize ¶
func (s *TimeServer) Normalize(_ context.Context, req *pb.NormalizeRequest) (*pb.NormalizeResponse, error)
func (*TimeServer) Parse ¶
func (s *TimeServer) Parse(_ context.Context, req *pb.ParseRequest) (*pb.ParseResponse, error)
func (*TimeServer) Parse3339 ¶
func (s *TimeServer) Parse3339(_ context.Context, req *pb.Parse3339Request) (*pb.Parse3339Response, error)
func (*TimeServer) Set1 ¶
func (s *TimeServer) Set1(_ context.Context, req *pb.Set1Request) (*pb.Set1Response, error)
func (*TimeServer) Set1_3 ¶
func (s *TimeServer) Set1_3(_ context.Context, req *pb.Set1_3Request) (*pb.Set1_3Response, error)
func (*TimeServer) Set3_1 ¶
func (s *TimeServer) Set3_1(_ context.Context, req *pb.Set3_1Request) (*pb.Set3_1Response, error)
func (*TimeServer) Set6_2 ¶
func (s *TimeServer) Set6_2(_ context.Context, req *pb.Set6_2Request) (*pb.Set6_2Response, error)
func (*TimeServer) SetJulianDay ¶
func (s *TimeServer) SetJulianDay(_ context.Context, req *pb.SetJulianDayRequest) (*pb.SetJulianDayResponse, error)
func (*TimeServer) SetToNow ¶
func (s *TimeServer) SetToNow(_ context.Context, req *pb.SetToNowRequest) (*pb.SetToNowResponse, error)
func (*TimeServer) SwitchTimezone ¶
func (s *TimeServer) SwitchTimezone(_ context.Context, req *pb.SwitchTimezoneRequest) (*pb.SwitchTimezoneResponse, error)
func (*TimeServer) ToMillis ¶
func (s *TimeServer) ToMillis(_ context.Context, req *pb.ToMillisRequest) (*pb.ToMillisResponse, error)
func (*TimeServer) ToString ¶
func (s *TimeServer) ToString(_ context.Context, req *pb.ToStringRequest) (*pb.ToStringResponse, error)
Click to show internal directories.
Click to hide internal directories.