DisplayTextDateFormatSupport
DisplayTextDateFormatSupport
ภาพรวม
DisplayTextDateFormatSupport เป็น struct ใน Aspose.Cells FOSS สำหรับ Rust. สืบทอดจาก: Default, Clone, PartialEq.
struct นี้ประกาศ 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 รายการ. สมาชิกสาธารณะสามารถเข้าถึงได้จากแอปพลิเคชัน Rust ใด ๆ หลังจากติดตั้งแพคเกจ Aspose.Cells FOSS สำหรับ 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 นี้. |