DisplayTextDateFormatSupport

DisplayTextDateFormatSupport

نمای کلی

DisplayTextDateFormatSupport یک ساختار در Aspose.Cells FOSS برای Rust است. ارث می‌برد از: Default، Clone، PartialEq.

این ساختار 17 متد برای اشیاء DisplayTextDateFormatSupport در برنامه‌های Rust اعلام می‌کند. متدهای موجود شامل: append_day، append_fraction_digits، append_hour، append_minute، append_month، append_second، append_year، contains_elapsed_time_token، count_repeated، find_neighbor_token، format_date_time_value، format_elapsed_time_value، و 5 متد اضافی هستند. اعضای عمومی پس از نصب بسته Aspose.Cells FOSS برای Rust، برای هر برنامه Rust قابل دسترسی هستند.

روش ها

امضاتوضیح
format_date_time_value(value: DateTime, format_code: String, culture: CultureInfo) → Stringمتد format_date_time_value(value, format_code, culture) را بر روی این نمونه DisplayTextDateFormatSupport فراخوانی می‌کند.
matches_token(format_code: String, start_index: i32, token: String) → boolمتد matches_token(format_code, start_index, token) را بر روی این نمونه DisplayTextDateFormatSupport فراخوانی می‌کند.
count_repeated(format_code: String, start_index: i32, token: char) → i32متد count_repeated(format_code, start_index, token) را بر روی این نمونه DisplayTextDateFormatSupport فراخوانی می‌کند.
is_minute_context(format_code: String, start_index: i32, count: i32) → boolمتد is_minute_context(format_code, start_index, count) را بر روی این نمونه DisplayTextDateFormatSupport فراخوانی می‌کند.
find_neighbor_token(format_code: String, start_index: i32, direction: i32) → charمتد find_neighbor_token(format_code, start_index, direction) را بر روی این نمونه DisplayTextDateFormatSupport فراخوانی می‌کند.
is_elapsed_token(token: String) → boolمتد is_elapsed_token(token) را بر روی این نمونه DisplayTextDateFormatSupport فراخوانی می‌کند.
contains_elapsed_time_token(format_code: String) → boolمتد contains_elapsed_time_token(format_code) را بر روی این نمونه DisplayTextDateFormatSupport فراخوانی می‌کند.
format_elapsed_time_value(time: TimeSpan, format_code: String, culture: CultureInfo) → Stringمتد format_elapsed_time_value(time, format_code, culture) را بر روی این نمونه DisplayTextDateFormatSupport فراخوانی می‌کند.
append_year(value: DateTime, culture: CultureInfo, count: i32, builder: StringBuilder)متد append_year(value, culture, count, builder) را بر روی این نمونه DisplayTextDateFormatSupport فراخوانی می‌کند.
append_day(value: DateTime, culture: CultureInfo, count: i32, builder: StringBuilder)متد append_day(value, culture, count, builder) را بر روی این نمونه DisplayTextDateFormatSupport صدا می‌زند.
append_month(value: DateTime, culture: CultureInfo, count: i32, builder: StringBuilder)متد append_month(value, culture, count, builder) را بر روی این نمونه DisplayTextDateFormatSupport صدا می‌زند.
append_hour(value: DateTime, culture: CultureInfo, count: i32, has_am_pm: bool, builder: StringBuilder)متد append_hour(value, culture, count, has_am_pm, builder) را بر روی این نمونه DisplayTextDateFormatSupport صدا می‌زند.
append_minute(value: DateTime, culture: CultureInfo, count: i32, builder: StringBuilder)متد append_minute(value, culture, count, builder) را بر روی این نمونه DisplayTextDateFormatSupport صدا می‌زند.
append_second(value: DateTime, culture: CultureInfo, count: i32, builder: StringBuilder)متد append_second(value, culture, count, builder) را بر روی این نمونه DisplayTextDateFormatSupport فراخوانی می‌کند.
try_append_fractional_seconds(value: DateTime, format_code: String, culture: CultureInfo, index: Ref<i32>, builder: StringBuilder) → boolمتد try_append_fractional_seconds(value, format_code, culture, index, builder) را بر روی این نمونه DisplayTextDateFormatSupport فراخوانی می‌کند.
append_fraction_digits(milliseconds: i32, zero_count: i32, builder: StringBuilder)متد append_fraction_digits(milliseconds, zero_count, builder) را بر روی این نمونه DisplayTextDateFormatSupport فراخوانی می‌کند.
get_am_pm_designator(value: DateTime, culture: CultureInfo, abbreviated: bool) → Stringمتد get_am_pm_designator(value, culture, abbreviated) را بر روی این نمونه DisplayTextDateFormatSupport فراخوانی می‌کند.

همچنین ببینید:

 فارسی