Linux yavrix.internet-webhosting.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
LiteSpeed
Server IP : 103.8.25.136 & Your IP : 216.73.216.129
Domains :
Cant Read [ /etc/named.conf ]
User : celfico1
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-25 14:47
appendable.h
8.38
KB
-rw-r--r--
2020-03-25 14:47
basictz.h
8.77
KB
-rw-r--r--
2020-03-25 14:47
bms.h
8.68
KB
-rw-r--r--
2020-03-25 14:47
bmsearch.h
7.33
KB
-rw-r--r--
2020-03-25 14:47
brkiter.h
24.24
KB
-rw-r--r--
2020-03-25 14:47
bytestream.h
9.16
KB
-rw-r--r--
2020-03-25 14:47
bytestrie.h
19.19
KB
-rw-r--r--
2020-03-25 14:47
bytestriebuilder.h
6.73
KB
-rw-r--r--
2020-03-25 14:47
calendar.h
102.76
KB
-rw-r--r--
2020-03-25 14:47
caniter.h
7.23
KB
-rw-r--r--
2020-03-25 14:47
chariter.h
23.71
KB
-rw-r--r--
2020-03-25 14:47
choicfmt.h
27.82
KB
-rw-r--r--
2020-03-25 14:47
coleitr.h
12.69
KB
-rw-r--r--
2020-03-25 14:47
coll.h
53.44
KB
-rw-r--r--
2020-03-25 14:47
colldata.h
12.42
KB
-rw-r--r--
2020-03-25 14:47
curramt.h
3.57
KB
-rw-r--r--
2020-03-25 14:47
currpinf.h
6.93
KB
-rw-r--r--
2020-03-25 14:47
currunit.h
2.99
KB
-rw-r--r--
2020-03-25 14:47
datefmt.h
33.67
KB
-rw-r--r--
2020-03-25 14:47
dbbi.h
966
B
-rw-r--r--
2020-03-25 14:47
dcfmtsym.h
14.91
KB
-rw-r--r--
2020-03-25 14:47
decimfmt.h
97.38
KB
-rw-r--r--
2020-03-25 14:47
docmain.h
6.28
KB
-rw-r--r--
2020-03-25 14:47
dtfmtsym.h
30.27
KB
-rw-r--r--
2020-03-25 14:47
dtintrv.h
3.65
KB
-rw-r--r--
2020-03-25 14:47
dtitvfmt.h
39.24
KB
-rw-r--r--
2020-03-25 14:47
dtitvinf.h
18.56
KB
-rw-r--r--
2020-03-25 14:47
dtptngen.h
19.54
KB
-rw-r--r--
2020-03-25 14:47
dtrule.h
8.51
KB
-rw-r--r--
2020-03-25 14:47
enumset.h
1.8
KB
-rw-r--r--
2020-03-25 14:47
errorcode.h
4.67
KB
-rw-r--r--
2020-03-25 14:47
fieldpos.h
8.51
KB
-rw-r--r--
2020-03-25 14:47
fmtable.h
22.09
KB
-rw-r--r--
2020-03-25 14:47
format.h
12.33
KB
-rw-r--r--
2020-03-25 14:47
fpositer.h
2.97
KB
-rw-r--r--
2020-03-25 14:47
gender.h
3.02
KB
-rw-r--r--
2020-03-25 14:47
gregocal.h
33.28
KB
-rw-r--r--
2020-03-25 14:47
icudataver.h
990
B
-rw-r--r--
2020-03-25 14:47
icuplug.h
11.49
KB
-rw-r--r--
2020-03-25 14:47
idna.h
12.68
KB
-rw-r--r--
2020-03-25 14:47
listformatter.h
3.97
KB
-rw-r--r--
2020-03-25 14:47
localpointer.h
9.13
KB
-rw-r--r--
2020-03-25 14:47
locdspnm.h
7.14
KB
-rw-r--r--
2020-03-25 14:47
locid.h
30.48
KB
-rw-r--r--
2020-03-25 14:47
measfmt.h
1.94
KB
-rw-r--r--
2020-03-25 14:47
measunit.h
1.6
KB
-rw-r--r--
2020-03-25 14:47
measure.h
3.24
KB
-rw-r--r--
2020-03-25 14:47
messagepattern.h
33.6
KB
-rw-r--r--
2020-03-25 14:47
msgfmt.h
43.59
KB
-rw-r--r--
2020-03-25 14:47
normalizer2.h
28.34
KB
-rw-r--r--
2020-03-25 14:47
normlzr.h
29.26
KB
-rw-r--r--
2020-03-25 14:47
numfmt.h
43.59
KB
-rw-r--r--
2020-03-25 14:47
numsys.h
5.37
KB
-rw-r--r--
2020-03-25 14:47
parseerr.h
2.97
KB
-rw-r--r--
2020-03-25 14:47
parsepos.h
5.34
KB
-rw-r--r--
2020-03-25 14:47
platform.h
24.23
KB
-rw-r--r--
2020-03-25 14:47
plurfmt.h
24.58
KB
-rw-r--r--
2020-03-25 14:47
plurrule.h
14.56
KB
-rw-r--r--
2020-03-25 14:47
ptypes.h
3.36
KB
-rw-r--r--
2020-03-25 14:47
putil.h
5.61
KB
-rw-r--r--
2020-03-25 14:47
rbbi.h
29.15
KB
-rw-r--r--
2020-03-25 14:47
rbnf.h
45.32
KB
-rw-r--r--
2020-03-25 14:47
rbtz.h
15.33
KB
-rw-r--r--
2020-03-25 14:47
regex.h
83.1
KB
-rw-r--r--
2020-03-25 14:47
rep.h
9.33
KB
-rw-r--r--
2020-03-25 14:47
resbund.h
17.89
KB
-rw-r--r--
2020-03-25 14:47
schriter.h
6.15
KB
-rw-r--r--
2020-03-25 14:47
search.h
22.1
KB
-rw-r--r--
2020-03-25 14:47
selfmt.h
14.13
KB
-rw-r--r--
2020-03-25 14:47
simpletz.h
45.1
KB
-rw-r--r--
2020-03-25 14:47
smpdtfmt.h
57.58
KB
-rw-r--r--
2020-03-25 14:47
sortkey.h
10.98
KB
-rw-r--r--
2020-03-25 14:47
std_string.h
783
B
-rw-r--r--
2020-03-25 14:47
strenum.h
9.92
KB
-rw-r--r--
2020-03-25 14:47
stringpiece.h
6.38
KB
-rw-r--r--
2020-03-25 14:47
stringtriebuilder.h
14.75
KB
-rw-r--r--
2020-03-25 14:47
stsearch.h
21.76
KB
-rw-r--r--
2020-03-25 14:47
symtable.h
4.1
KB
-rw-r--r--
2020-03-25 14:47
tblcoll.h
34.23
KB
-rw-r--r--
2020-03-25 14:47
timezone.h
37.28
KB
-rw-r--r--
2020-03-25 14:47
tmunit.h
3.39
KB
-rw-r--r--
2020-03-25 14:47
tmutamt.h
4.69
KB
-rw-r--r--
2020-03-25 14:47
tmutfmt.h
8.51
KB
-rw-r--r--
2020-03-25 14:47
translit.h
53.76
KB
-rw-r--r--
2020-03-25 14:47
tzfmt.h
32.06
KB
-rw-r--r--
2020-03-25 14:47
tznames.h
14.83
KB
-rw-r--r--
2020-03-25 14:47
tzrule.h
35.21
KB
-rw-r--r--
2020-03-25 14:47
tztrans.h
5.96
KB
-rw-r--r--
2020-03-25 14:47
ubidi.h
88.57
KB
-rw-r--r--
2020-03-25 14:47
ubrk.h
19.13
KB
-rw-r--r--
2020-03-25 14:47
ucal.h
50.49
KB
-rw-r--r--
2020-03-25 14:47
ucasemap.h
16.45
KB
-rw-r--r--
2020-03-25 14:47
ucat.h
5.25
KB
-rw-r--r--
2020-03-25 14:47
uchar.h
115.43
KB
-rw-r--r--
2020-03-25 14:47
ucharstrie.h
20.8
KB
-rw-r--r--
2020-03-25 14:47
ucharstriebuilder.h
6.83
KB
-rw-r--r--
2020-03-25 14:47
uchriter.h
12.82
KB
-rw-r--r--
2020-03-25 14:47
uclean.h
10.38
KB
-rw-r--r--
2020-03-25 14:47
ucnv.h
82.6
KB
-rw-r--r--
2020-03-25 14:47
ucnv_cb.h
6.48
KB
-rw-r--r--
2020-03-25 14:47
ucnv_err.h
20.87
KB
-rw-r--r--
2020-03-25 14:47
ucnvsel.h
6.03
KB
-rw-r--r--
2020-03-25 14:47
ucol.h
57.93
KB
-rw-r--r--
2020-03-25 14:47
ucoleitr.h
12.25
KB
-rw-r--r--
2020-03-25 14:47
uconfig.h
10.79
KB
-rw-r--r--
2020-03-25 14:47
ucsdet.h
12.6
KB
-rw-r--r--
2020-03-25 14:47
ucurr.h
12.96
KB
-rw-r--r--
2020-03-25 14:47
udat.h
46.47
KB
-rw-r--r--
2020-03-25 14:47
udata.h
14.81
KB
-rw-r--r--
2020-03-25 14:47
udateintervalformat.h
6.5
KB
-rw-r--r--
2020-03-25 14:47
udatpg.h
23.24
KB
-rw-r--r--
2020-03-25 14:47
udisplaycontext.h
4.34
KB
-rw-r--r--
2020-03-25 14:47
uenum.h
7.79
KB
-rw-r--r--
2020-03-25 14:47
ugender.h
1.85
KB
-rw-r--r--
2020-03-25 14:47
uidna.h
32.81
KB
-rw-r--r--
2020-03-25 14:47
uiter.h
22.67
KB
-rw-r--r--
2020-03-25 14:47
uldnames.h
10.5
KB
-rw-r--r--
2020-03-25 14:47
uloc.h
44.07
KB
-rw-r--r--
2020-03-25 14:47
ulocdata.h
10.37
KB
-rw-r--r--
2020-03-25 14:47
umachine.h
10.23
KB
-rw-r--r--
2020-03-25 14:47
umisc.h
1.23
KB
-rw-r--r--
2020-03-25 14:47
umsg.h
24.12
KB
-rw-r--r--
2020-03-25 14:47
unifilt.h
3.52
KB
-rw-r--r--
2020-03-25 14:47
unifunct.h
3.87
KB
-rw-r--r--
2020-03-25 14:47
unimatch.h
5.93
KB
-rw-r--r--
2020-03-25 14:47
unirepl.h
3.21
KB
-rw-r--r--
2020-03-25 14:47
uniset.h
63.07
KB
-rw-r--r--
2020-03-25 14:47
unistr.h
164.33
KB
-rw-r--r--
2020-03-25 14:47
unorm.h
22.89
KB
-rw-r--r--
2020-03-25 14:47
unorm2.h
21.91
KB
-rw-r--r--
2020-03-25 14:47
unum.h
39.21
KB
-rw-r--r--
2020-03-25 14:47
uobject.h
12.21
KB
-rw-r--r--
2020-03-25 14:47
upluralrules.h
4.47
KB
-rw-r--r--
2020-03-25 14:47
uregex.h
71.47
KB
-rw-r--r--
2020-03-25 14:47
urename.h
120.88
KB
-rw-r--r--
2020-03-25 14:47
urep.h
5.27
KB
-rw-r--r--
2020-03-25 14:47
ures.h
35.92
KB
-rw-r--r--
2020-03-25 14:47
uscript.h
20.46
KB
-rw-r--r--
2020-03-25 14:47
usearch.h
36.09
KB
-rw-r--r--
2020-03-25 14:47
uset.h
39.45
KB
-rw-r--r--
2020-03-25 14:47
usetiter.h
9.38
KB
-rw-r--r--
2020-03-25 14:47
ushape.h
17.89
KB
-rw-r--r--
2020-03-25 14:47
uspoof.h
38.91
KB
-rw-r--r--
2020-03-25 14:47
usprep.h
8.02
KB
-rw-r--r--
2020-03-25 14:47
ustdio.h
37.05
KB
-rw-r--r--
2020-03-25 14:47
ustream.h
1.6
KB
-rw-r--r--
2020-03-25 14:47
ustring.h
73.01
KB
-rw-r--r--
2020-03-25 14:47
ustringtrie.h
3.04
KB
-rw-r--r--
2020-03-25 14:47
utext.h
57.97
KB
-rw-r--r--
2020-03-25 14:47
utf.h
7.64
KB
-rw-r--r--
2020-03-25 14:47
utf16.h
18.24
KB
-rw-r--r--
2020-03-25 14:47
utf32.h
653
B
-rw-r--r--
2020-03-25 14:47
utf8.h
23.02
KB
-rw-r--r--
2020-03-25 14:47
utf_old.h
42.5
KB
-rw-r--r--
2020-03-25 14:47
utmscale.h
13.37
KB
-rw-r--r--
2020-03-25 14:47
utrace.h
13.09
KB
-rw-r--r--
2020-03-25 14:47
utrans.h
23.08
KB
-rw-r--r--
2020-03-25 14:47
utypes.h
30.72
KB
-rw-r--r--
2020-03-25 14:47
uvernum.h
5.53
KB
-rw-r--r--
2020-03-25 14:47
uversion.h
6.29
KB
-rw-r--r--
2020-03-25 14:47
vtzone.h
20.09
KB
-rw-r--r--
2020-03-25 14:47
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