#include "src/objects/js-duration-format.h"
#include <map>
#include <memory>
#include <string>
#include <string_view>
#include "src/common/globals.h"
#include "src/execution/isolate.h"
#include "src/heap/factory.h"
#include "src/objects/intl-objects.h"
#include "src/objects/js-duration-format-inl.h"
#include "src/objects/js-number-format.h"
#include "src/objects/js-temporal-objects.h"
#include "src/objects/managed-inl.h"
#include "src/objects/objects-inl.h"
#include "src/objects/option-utils.h"
#include "unicode/dtfmtsym.h"
#include "unicode/listformatter.h"
#include "unicode/locid.h"
#include "unicode/numberformatter.h"
#include "unicode/ulistformatter.h"
#include "unicode/unumberformatter.h"
Go to the source code of this file.
◆ CALL_GET_DURATION_UNIT_OPTIONS
#define CALL_GET_DURATION_UNIT_OPTIONS |
( |
| unit, |
|
|
| property, |
|
|
| strings, |
|
|
| enums, |
|
|
| digital_base, |
|
|
| prev_style ) |
Value:
isolate, property##_option, \
GetDurationUnitOptions( \
isolate, Unit::unit, #property, #property
"Display", options,
style, \
strings, enums, JSDurationFormat::FieldStyle::digital_base, \
prev_style), \
DirectHandle<JSDurationFormat>());
#define MAYBE_ASSIGN_RETURN_ON_EXCEPTION_VALUE(isolate, dst, call, value)
◆ OUTPUT_DISPLAY_PROPERTY
#define OUTPUT_DISPLAY_PROPERTY |
( |
| p | ) |
|
Value:
DisplayToString(isolate, format->p##_display()))
◆ OUTPUT_PROPERTY
#define OUTPUT_PROPERTY |
( |
| s, |
|
|
| f ) |
Value:
isolate, created, \
JSReceiver::CreateDataProperty(isolate, options, factory->s(), f, \
Just(kDontThrow)), \
DirectHandle<JSObject>()); \
CHECK(created);
◆ OUTPUT_STYLE_AND_DISPLAY_PROPERTIES
#define OUTPUT_STYLE_AND_DISPLAY_PROPERTIES |
( |
| p | ) |
|
Value:
OUTPUT_DISPLAY_PROPERTY(p);
◆ OUTPUT_STYLE_PROPERTY
#define OUTPUT_STYLE_PROPERTY |
( |
| p | ) |
|
◆ display
JSDurationFormat::Display display |
◆ formatted
icu::number::FormattedNumber formatted |
◆ part_type
◆ style
JSDurationFormat::FieldStyle style |
◆ type