DisplayTextDateFormatSupport
DisplayTextDateFormatSupport
Áttekintés
DisplayTextDateFormatSupport egy struct a Aspose.Cells FOSS Rust-hoz. Örökli: Default, Clone, PartialEq.
Ez a struct 17 metódust deklarál a DisplayTextDateFormatSupport objektumok számára Rust programokban. Az elérhető metódusok: 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, és 5 további metódus. A nyilvános tagok bármely Rust alkalmazás számára elérhetők a Aspose.Cells FOSS for Rust csomag telepítése után.
Metódusok
| Aláírás | Leírás |
|---|---|
format_date_time_value(value: DateTime, format_code: String, culture: CultureInfo) → String | Meghívja a(z) format_date_time_value(value, format_code, culture) ezen a DisplayTextDateFormatSupport példányon. |
matches_token(format_code: String, start_index: i32, token: String) → bool | Meghívja a(z) matches_token(format_code, start_index, token) ezen a DisplayTextDateFormatSupport példányon. |
count_repeated(format_code: String, start_index: i32, token: char) → i32 | Meghívja a(z) count_repeated(format_code, start_index, token) ezen a DisplayTextDateFormatSupport példányon. |
is_minute_context(format_code: String, start_index: i32, count: i32) → bool | Meghívja a(z) is_minute_context(format_code, start_index, count) ezen a DisplayTextDateFormatSupport példányon. |
find_neighbor_token(format_code: String, start_index: i32, direction: i32) → char | Meghívja a(z) find_neighbor_token(format_code, start_index, direction) metódust ezen a DisplayTextDateFormatSupport példányon. |
is_elapsed_token(token: String) → bool | Meghívja a(z) is_elapsed_token(token) metódust ezen a DisplayTextDateFormatSupport példányon. |
contains_elapsed_time_token(format_code: String) → bool | Meghívja a(z) contains_elapsed_time_token(format_code) metódust ezen a DisplayTextDateFormatSupport példányon. |
format_elapsed_time_value(time: TimeSpan, format_code: String, culture: CultureInfo) → String | Meghívja a(z) format_elapsed_time_value(time, format_code, culture) metódust ezen a DisplayTextDateFormatSupport példányon. |
append_year(value: DateTime, culture: CultureInfo, count: i32, builder: StringBuilder) | Meghívja a append_year(value, culture, count, builder) metódust ezen a DisplayTextDateFormatSupport példányon. |
append_day(value: DateTime, culture: CultureInfo, count: i32, builder: StringBuilder) | Meghívja a append_day(value, culture, count, builder) metódust ezen a DisplayTextDateFormatSupport példányon. |
append_month(value: DateTime, culture: CultureInfo, count: i32, builder: StringBuilder) | Meghívja a append_month(value, culture, count, builder) metódust ezen a DisplayTextDateFormatSupport példányon. |
append_hour(value: DateTime, culture: CultureInfo, count: i32, has_am_pm: bool, builder: StringBuilder) | Meghívja a append_hour(value, culture, count, has_am_pm, builder) metódust ezen a DisplayTextDateFormatSupport példányon. |
append_minute(value: DateTime, culture: CultureInfo, count: i32, builder: StringBuilder) | Meghívja a(z) append_minute(value, culture, count, builder) ezen a DisplayTextDateFormatSupport példányon. |
append_second(value: DateTime, culture: CultureInfo, count: i32, builder: StringBuilder) | Meghívja a(z) append_second(value, culture, count, builder) ezen a DisplayTextDateFormatSupport példányon. |
try_append_fractional_seconds(value: DateTime, format_code: String, culture: CultureInfo, index: Ref<i32>, builder: StringBuilder) → bool | Meghívja a(z) try_append_fractional_seconds(value, format_code, culture, index, builder) ezen a DisplayTextDateFormatSupport példányon. |
append_fraction_digits(milliseconds: i32, zero_count: i32, builder: StringBuilder) | Meghívja a(z) append_fraction_digits(milliseconds, zero_count, builder) ezen a DisplayTextDateFormatSupport példányon. |
get_am_pm_designator(value: DateTime, culture: CultureInfo, abbreviated: bool) → String | Meghívja a(z) get_am_pm_designator(value, culture, abbreviated) metódust ezen a DisplayTextDateFormatSupport példányon. |