DisplayTextDateFormatSupport
DisplayTextDateFormatSupport
Overzicht
DisplayTextDateFormatSupport is een struct in Aspose.Cells FOSS voor Rust. Erft van: Default, Clone, PartialEq.
Deze struct declareert 17 methoden voor DisplayTextDateFormatSupport objecten in Rust-programma’s. Beschikbare methoden omvatten: 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, en 5 extra methoden. Publieke leden zijn toegankelijk voor elke Rust-toepassing na het installeren van het Aspose.Cells FOSS voor Rust-pakket.
Methoden
| Handtekening | Beschrijving |
|---|---|
format_date_time_value(value: DateTime, format_code: String, culture: CultureInfo) → String | Roept format_date_time_value(value, format_code, culture) aan op deze DisplayTextDateFormatSupport-instantie. |
matches_token(format_code: String, start_index: i32, token: String) → bool | Roept matches_token(format_code, start_index, token) aan op deze DisplayTextDateFormatSupport-instantie. |
count_repeated(format_code: String, start_index: i32, token: char) → i32 | Roept count_repeated(format_code, start_index, token) aan op deze DisplayTextDateFormatSupport-instantie. |
is_minute_context(format_code: String, start_index: i32, count: i32) → bool | Roept is_minute_context(format_code, start_index, count) aan op deze DisplayTextDateFormatSupport instantie. |
find_neighbor_token(format_code: String, start_index: i32, direction: i32) → char | Roept find_neighbor_token(format_code, start_index, direction) aan op deze DisplayTextDateFormatSupport instantie. |
is_elapsed_token(token: String) → bool | Roept is_elapsed_token(token) aan op deze DisplayTextDateFormatSupport instantie. |
contains_elapsed_time_token(format_code: String) → bool | Roept contains_elapsed_time_token(format_code) aan op deze DisplayTextDateFormatSupport instantie. |
format_elapsed_time_value(time: TimeSpan, format_code: String, culture: CultureInfo) → String | Roept format_elapsed_time_value(time, format_code, culture) aan op deze DisplayTextDateFormatSupport instantie. |
append_year(value: DateTime, culture: CultureInfo, count: i32, builder: StringBuilder) | Roept append_year(value, culture, count, builder) aan op deze DisplayTextDateFormatSupport instantie. |
append_day(value: DateTime, culture: CultureInfo, count: i32, builder: StringBuilder) | Roept append_day(value, culture, count, builder) aan op deze DisplayTextDateFormatSupport instantie. |
append_month(value: DateTime, culture: CultureInfo, count: i32, builder: StringBuilder) | Roept append_month(value, culture, count, builder) aan op deze DisplayTextDateFormatSupport instantie. |
append_hour(value: DateTime, culture: CultureInfo, count: i32, has_am_pm: bool, builder: StringBuilder) | Roept append_hour(value, culture, count, has_am_pm, builder) aan op deze DisplayTextDateFormatSupport instantie. |
append_minute(value: DateTime, culture: CultureInfo, count: i32, builder: StringBuilder) | Roept append_minute(value, culture, count, builder) aan op deze DisplayTextDateFormatSupport instantie. |
append_second(value: DateTime, culture: CultureInfo, count: i32, builder: StringBuilder) | Roept append_second(value, culture, count, builder) aan op deze DisplayTextDateFormatSupport instantie. |
try_append_fractional_seconds(value: DateTime, format_code: String, culture: CultureInfo, index: Ref<i32>, builder: StringBuilder) → bool | Roept try_append_fractional_seconds(value, format_code, culture, index, builder) aan op deze DisplayTextDateFormatSupport instantie. |
append_fraction_digits(milliseconds: i32, zero_count: i32, builder: StringBuilder) | Roept append_fraction_digits(milliseconds, zero_count, builder) aan op deze DisplayTextDateFormatSupport instantie. |
get_am_pm_designator(value: DateTime, culture: CultureInfo, abbreviated: bool) → String | Roept get_am_pm_designator(value, culture, abbreviated) aan op deze DisplayTextDateFormatSupport instantie. |