1// Copyright 2020 the V8 project authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include 'src/objects/js-relative-time-format.h' 6 7type JSRelativeTimeFormatNumeric extends int32 8constexpr 'JSRelativeTimeFormat::Numeric'; 9bitfield struct JSRelativeTimeFormatFlags extends uint31 { 10 numeric: JSRelativeTimeFormatNumeric: 1 bit; 11} 12 13extern class JSRelativeTimeFormat extends JSObject { 14 locale: String; 15 numberingSystem: String; 16 icu_formatter: Foreign; // Managed<icu::RelativeDateTimeFormatter> 17 flags: SmiTagged<JSRelativeTimeFormatFlags>; 18} 19