StiTimeFormatService Class

Namespace: Stimulsoft.Report.Components.TextFormats

Inheritance

Inherits from: StiFormatService

Constructors

Constructor Description
StiTimeFormatService() Creates a new format of the type StiTimeFormatService.
StiTimeFormatService(string stringFormat) Creates a new format of the type StiTimeFormatService.

StiTimeFormatService()

Creates a new format of the type StiTimeFormatService.


StiTimeFormatService(stringFormat: string)

Creates a new format of the type StiTimeFormatService.

Parameters

  • stringFormat (string) — String of formatting.

Methods

Method Returns Description
CreateNew StiFormatService  
Equals bool  
Format string Formats the specified object in order of regulations and returns a string.
GetHashCode int  
SaveToJsonObject JObject  

Method Details

CreateNew

CreateNew(): StiFormatService

Returns StiFormatService


Equals

Equals(obj: object): bool

Parameters

  • obj (object)

Returns bool


Format

Format(format: string, arg: object): string

Formats the specified object in order of regulations and returns a string.

Parameters

  • format (string) — String for formatting.
  • arg (object) — Object for formatting.

Returns string — Formatted string.


GetHashCode

GetHashCode(): int

Returns int


SaveToJsonObject

SaveToJsonObject(mode: StiJsonSaveMode): JObject

Parameters

Returns JObject