A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/udateintervalformat_8h_source.html below:

ICU 77.1: i18n/unicode/udateintervalformat.h Source File

10 #ifndef UDATEINTERVALFORMAT_H 11 #define UDATEINTERVALFORMAT_H 15 #if !UCONFIG_NO_FORMATTING 22 #if U_SHOW_CPLUSPLUS_API 123  const UChar

* skeleton,

124

int32_t skeletonLength,

185 #if U_SHOW_CPLUSPLUS_API 250

int32_t resultCapacity,

"Smart pointer" class, closes a UDateIntervalFormat via udtitvfmt_close().

"Smart pointer" class, closes a UFormattedDateInterval via udtitvfmt_close().

C++ API: "Smart pointers" for use with and in ICU4C C++ code.

#define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction)

"Smart pointer" definition macro, deletes objects via the closeFunction.

A struct representing a range of text containing a specific field.

void * UCalendar

A calendar.

U_CAPI const UFormattedValue * udtitvfmt_resultAsValue(const UFormattedDateInterval *uresult, UErrorCode *ec)

Returns a representation of a UFormattedDateInterval as a UFormattedValue, which can be subsequently ...

U_CAPI UFormattedDateInterval * udtitvfmt_openResult(UErrorCode *ec)

Creates an object to hold the result of a UDateIntervalFormat operation.

struct UFormattedDateInterval UFormattedDateInterval

Opaque struct to contain the results of a UDateIntervalFormat operation.

U_CAPI void udtitvfmt_setContext(UDateIntervalFormat *formatter, UDisplayContext value, UErrorCode *status)

Set a particular UDisplayContext value in the formatter, such as UDISPCTX_CAPITALIZATION_FOR_STANDALO...

U_CAPI UDisplayContext udtitvfmt_getContext(const UDateIntervalFormat *formatter, UDisplayContextType type, UErrorCode *status)

Get the formatter's UDisplayContext value for the specified UDisplayContextType, such as UDISPCTX_TYP...

U_CAPI int32_t udtitvfmt_format(const UDateIntervalFormat *formatter, UDate fromDate, UDate toDate, UChar *result, int32_t resultCapacity, UFieldPosition *position, UErrorCode *status)

Formats a date/time range using the conventions established for the UDateIntervalFormat object.

U_CAPI UDateIntervalFormat * udtitvfmt_open(const char *locale, const UChar *skeleton, int32_t skeletonLength, const UChar *tzID, int32_t tzIDLength, UErrorCode *status)

Open a new UDateIntervalFormat object using the predefined rules for a given locale plus a specified ...

U_CAPI void udtitvfmt_close(UDateIntervalFormat *formatter)

Close a UDateIntervalFormat object.

struct UDateIntervalFormat UDateIntervalFormat

C typedef for struct UDateIntervalFormat.

U_CAPI void udtitvfmt_formatToResult(const UDateIntervalFormat *formatter, UDate fromDate, UDate toDate, UFormattedDateInterval *result, UErrorCode *status)

Formats a date/time range using the conventions established for the UDateIntervalFormat object.

U_CAPI void udtitvfmt_formatCalendarToResult(const UDateIntervalFormat *formatter, UCalendar *fromCalendar, UCalendar *toCalendar, UFormattedDateInterval *result, UErrorCode *status)

Formats a date/time range using the conventions established for the UDateIntervalFormat object.

U_CAPI void udtitvfmt_closeResult(UFormattedDateInterval *uresult)

Releases the UFormattedDateInterval created by udtitvfmt_openResult().

C API: Display context types (enum values)

UDisplayContextType

Display context types, for getting values of a particular setting.

UDisplayContext

Display context settings.

C API: Abstract operations for localized strings.

struct UFormattedValue UFormattedValue

An abstract formatted value: a string with associated field attributes.

#define U_CAPI

This is used to declare a function as a public ICU C API.

char16_t UChar

The base type for UTF-16 code units and pointers.

C API: Miscellaneous definitions.

Basic definitions for ICU, for both C and C++ APIs.

UErrorCode

Standard ICU4C error code type, a substitute for exceptions.

double UDate

Date and Time data type.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4