/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef intl_components_DateTimePart_h_ #define intl_components_DateTimePart_h_
// See the above comments for details, mEndIndex is placed first for reducing // padding.
size_t mEndIndex;
DateTimePartType mType;
DateTimePartSource mSource;
};
// The common parts are 'month', 'literal', 'day', 'literal', 'year', 'literal', // 'hour', 'literal', 'minute', 'literal', which are 10 parts, for DateTimeRange // the number will be doubled, so choosing 32 as the initial length to prevent // heap allocation.
constexpr size_t INITIAL_DATETIME_PART_VECTOR_SIZE = 32;
using DateTimePartVector =
mozilla::Vector<DateTimePart, INITIAL_DATETIME_PART_VECTOR_SIZE>;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.