Home | History | Annotate | Download | only in i18n

Lines Matching refs:MeasureUnit

24 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(MeasureUnit)
506 MeasureUnit *MeasureUnit::createGForce(UErrorCode &status) {
507 return MeasureUnit::create(0, 0, status);
510 MeasureUnit *MeasureUnit::createMeterPerSecondSquared(UErrorCode &status) {
511 return MeasureUnit::create(0, 1, status);
514 MeasureUnit *MeasureUnit::createArcMinute(UErrorCode &status) {
515 return MeasureUnit::create(1, 0, status);
518 MeasureUnit *MeasureUnit::createArcSecond(UErrorCode &status) {
519 return MeasureUnit::create(1, 1, status);
522 MeasureUnit *MeasureUnit::createDegree(UErrorCode &status) {
523 return MeasureUnit::create(1, 2, status);
526 MeasureUnit *MeasureUnit::createRadian(UErrorCode &status) {
527 return MeasureUnit::create(1, 3, status);
530 MeasureUnit *MeasureUnit::createRevolutionAngle(UErrorCode &status) {
531 return MeasureUnit::create(1, 4, status);
534 MeasureUnit *MeasureUnit::createAcre(UErrorCode &status) {
535 return MeasureUnit::create(2, 0, status);
538 MeasureUnit *MeasureUnit::createHectare(UErrorCode &status) {
539 return MeasureUnit::create(2, 1, status);
542 MeasureUnit *MeasureUnit::createSquareCentimeter(UErrorCode &status) {
543 return MeasureUnit::create(2, 2, status);
546 MeasureUnit *MeasureUnit::createSquareFoot(UErrorCode &status) {
547 return MeasureUnit::create(2, 3, status);
550 MeasureUnit *MeasureUnit::createSquareInch(UErrorCode &status) {
551 return MeasureUnit::create(2, 4, status);
554 MeasureUnit *MeasureUnit::createSquareKilometer(UErrorCode &status) {
555 return MeasureUnit::create(2, 5, status);
558 MeasureUnit *MeasureUnit::createSquareMeter(UErrorCode &status) {
559 return MeasureUnit::create(2, 6, status);
562 MeasureUnit *MeasureUnit::createSquareMile(UErrorCode &status) {
563 return MeasureUnit::create(2, 7, status);
566 MeasureUnit *MeasureUnit::createSquareYard(UErrorCode &status) {
567 return MeasureUnit::create(2, 8, status);
570 MeasureUnit *MeasureUnit::createLiterPer100Kilometers(UErrorCode &status) {
571 return MeasureUnit::create(3, 0, status);
574 MeasureUnit *MeasureUnit::createLiterPerKilometer(UErrorCode &status) {
575 return MeasureUnit::create(3, 1, status);
578 MeasureUnit *MeasureUnit::createMilePerGallon(UErrorCode &status) {
579 return MeasureUnit::create(3, 2, status);
582 MeasureUnit *MeasureUnit::createBit(UErrorCode &status) {
583 return MeasureUnit::create(5, 0, status);
586 MeasureUnit *MeasureUnit::createByte(UErrorCode &status) {
587 return MeasureUnit::create(5, 1, status);
590 MeasureUnit *MeasureUnit::createGigabit(UErrorCode &status) {
591 return MeasureUnit::create(5, 2, status);
594 MeasureUnit *MeasureUnit::createGigabyte(UErrorCode &status) {
595 return MeasureUnit::create(5, 3, status);
598 MeasureUnit *MeasureUnit::createKilobit(UErrorCode &status) {
599 return MeasureUnit::create(5, 4, status);
602 MeasureUnit *MeasureUnit::createKilobyte(UErrorCode &status) {
603 return MeasureUnit::create(5, 5, status);
606 MeasureUnit *MeasureUnit::createMegabit(UErrorCode &status) {
607 return MeasureUnit::create(5, 6, status);
610 MeasureUnit *MeasureUnit::createMegabyte(UErrorCode &status) {
611 return MeasureUnit::create(5, 7, status);
614 MeasureUnit *MeasureUnit::createTerabit(UErrorCode &status) {
615 return MeasureUnit::create(5, 8, status);
618 MeasureUnit *MeasureUnit::createTerabyte(UErrorCode &status) {
619 return MeasureUnit::create(5, 9, status);
622 MeasureUnit *MeasureUnit::createCentury(UErrorCode &status) {
623 return MeasureUnit::create(6, 0, status);
626 MeasureUnit *MeasureUnit::createDay(UErrorCode &status) {
627 return MeasureUnit::create(6, 1, status);
630 MeasureUnit *MeasureUnit::createHour(UErrorCode &status) {
631 return MeasureUnit::create(6, 2, status);
634 MeasureUnit *MeasureUnit::createMicrosecond(UErrorCode &status) {
635 return MeasureUnit::create(6, 3, status);
638 MeasureUnit *MeasureUnit::createMillisecond(UErrorCode &status) {
639 return MeasureUnit::create(6, 4, status);
642 MeasureUnit *MeasureUnit::createMinute(UErrorCode &status) {
643 return MeasureUnit::create(6, 5, status);
646 MeasureUnit *MeasureUnit::createMonth(UErrorCode &status) {
647 return MeasureUnit::create(6, 6, status);
650 MeasureUnit *MeasureUnit::createNanosecond(UErrorCode &status) {
651 return MeasureUnit::create(6, 7, status);
654 MeasureUnit *MeasureUnit::createSecond(UErrorCode &status) {
655 return MeasureUnit::create(6, 8, status);
658 MeasureUnit *MeasureUnit::createWeek(UErrorCode &status) {
659 return MeasureUnit::create(6, 9, status);
662 MeasureUnit *MeasureUnit::createYear(UErrorCode &status) {
663 return MeasureUnit::create(6, 10, status);
666 MeasureUnit *MeasureUnit::createAmpere(UErrorCode &status) {
667 return MeasureUnit::create(7, 0, status);
670 MeasureUnit *MeasureUnit::createMilliampere(UErrorCode &status) {
671 return MeasureUnit::create(7, 1, status);
674 MeasureUnit *MeasureUnit::createOhm(UErrorCode &status) {
675 return MeasureUnit::create(7, 2, status);
678 MeasureUnit *MeasureUnit::createVolt(UErrorCode &status) {
679 return MeasureUnit::create(7, 3, status);
682 MeasureUnit *MeasureUnit::createCalorie(UErrorCode &status) {
683 return MeasureUnit::create(8, 0, status);
686 MeasureUnit *MeasureUnit::createFoodcalorie(UErrorCode &status) {
687 return MeasureUnit::create(8, 1, status);
690 MeasureUnit *MeasureUnit::createJoule(UErrorCode &status) {
691 return MeasureUnit::create(8, 2, status);
694 MeasureUnit *MeasureUnit::createKilocalorie(UErrorCode &status) {
695 return MeasureUnit::create(8, 3, status);
698 MeasureUnit *MeasureUnit::createKilojoule(UErrorCode &status) {
699 return MeasureUnit::create(8, 4, status);
702 MeasureUnit *MeasureUnit::createKilowattHour(UErrorCode &status) {
703 return MeasureUnit::create(8, 5, status);
706 MeasureUnit *MeasureUnit::createGigahertz(UErrorCode &status) {
707 return MeasureUnit::create(9, 0, status);
710 MeasureUnit *MeasureUnit::createHertz(UErrorCode &status) {
711 return MeasureUnit::create(9, 1, status);
714 MeasureUnit *MeasureUnit::createKilohertz(UErrorCode &status) {
715 return MeasureUnit::create(9, 2, status);
718 MeasureUnit *MeasureUnit::createMegahertz(UErrorCode &status) {
719 return MeasureUnit::create(9, 3, status);
722 MeasureUnit *MeasureUnit::createAstronomicalUnit(UErrorCode &status) {
723 return MeasureUnit::create(10, 0, status);
726 MeasureUnit *MeasureUnit::createCentimeter(UErrorCode &status) {
727 return MeasureUnit::create(10, 1, status);
730 MeasureUnit *MeasureUnit::createDecimeter(UErrorCode &status) {
731 return MeasureUnit::create(10, 2, status);
734 MeasureUnit *MeasureUnit::createFathom(UErrorCode &status) {
735 return MeasureUnit::create(10, 3, status);
738 MeasureUnit *MeasureUnit::createFoot(UErrorCode &status) {
739 return MeasureUnit::create(10, 4, status);
742 MeasureUnit *MeasureUnit::createFurlong(UErrorCode &status) {
743 return MeasureUnit::create(10, 5, status);
746 MeasureUnit *MeasureUnit::createInch(UErrorCode &status) {
747 return MeasureUnit::create(10, 6, status);
750 MeasureUnit *MeasureUnit::createKilometer(UErrorCode &status) {
751 return MeasureUnit::create(10, 7, status);
754 MeasureUnit *MeasureUnit::createLightYear(UErrorCode &status) {
755 return MeasureUnit::create(10, 8, status);
758 MeasureUnit *MeasureUnit::createMeter(UErrorCode &status) {
759 return MeasureUnit::create(10, 9, status);
762 MeasureUnit *MeasureUnit::createMicrometer(UErrorCode &status) {
763 return MeasureUnit::create(10, 10, status);
766 MeasureUnit *MeasureUnit::createMile(UErrorCode &status) {
767 return MeasureUnit::create(10, 11, status);
770 MeasureUnit *MeasureUnit::createMileScandinavian(UErrorCode &status) {
771 return MeasureUnit::create(10, 12, status);
774 MeasureUnit *MeasureUnit::createMillimeter(UErrorCode &status) {
775 return MeasureUnit::create(10, 13, status);
778 MeasureUnit *MeasureUnit::createNanometer(UErrorCode &status) {
779 return MeasureUnit::create(10, 14, status);
782 MeasureUnit *MeasureUnit::createNauticalMile(UErrorCode &status) {
783 return MeasureUnit::create(10, 15, status);
786 MeasureUnit *MeasureUnit::createParsec(UErrorCode &status) {
787 return MeasureUnit::create(10, 16, status);
790 MeasureUnit *MeasureUnit::createPicometer(UErrorCode &status) {
791 return MeasureUnit::create(10, 17, status);
794 MeasureUnit *MeasureUnit::createYard(UErrorCode &status) {
795 return MeasureUnit::create(10, 18, status);
798 MeasureUnit *MeasureUnit::createLux(UErrorCode &status) {
799 return MeasureUnit::create(11, 0, status);
802 MeasureUnit *MeasureUnit::createCarat(UErrorCode &status) {
803 return MeasureUnit::create(12, 0, status);
806 MeasureUnit *MeasureUnit::createGram(UErrorCode &status) {
807 return MeasureUnit::create(12, 1, status);
810 MeasureUnit *MeasureUnit::createKilogram(UErrorCode &status) {
811 return MeasureUnit::create(12, 2, status);
814 MeasureUnit *MeasureUnit::createMetricTon(UErrorCode &status) {
815 return MeasureUnit::create(12, 3, status);
818 MeasureUnit *MeasureUnit::createMicrogram(UErrorCode &status) {
819 return MeasureUnit::create(12, 4, status);
822 MeasureUnit *MeasureUnit::createMilligram(UErrorCode &status) {
823 return MeasureUnit::create(12, 5, status);
826 MeasureUnit *MeasureUnit::createOunce(UErrorCode &status) {
827 return MeasureUnit::create(12, 6, status);
830 MeasureUnit *MeasureUnit::createOunceTroy(UErrorCode &status) {
831 MeasureUnit::create(12, 7, status);
834 MeasureUnit *MeasureUnit::createPound(UErrorCode &status) {
835 return MeasureUnit::create(12, 8, status);
838 MeasureUnit *MeasureUnit::createStone(UErrorCode &status) {
839 return MeasureUnit::create(12, 9, status);
842 MeasureUnit *MeasureUnit::createTon(UErrorCode &status) {
843 return MeasureUnit::create(12, 10, status);
846 MeasureUnit *MeasureUnit::createGigawatt(UErrorCode &status) {
847 return MeasureUnit::create(13, 0, status);
850 MeasureUnit *MeasureUnit::createHorsepower(UErrorCode &status) {
851 return MeasureUnit::create(13, 1, status);
854 MeasureUnit *MeasureUnit::createKilowatt(UErrorCode &status) {
855 return MeasureUnit::create(13, 2, status);
858 MeasureUnit *MeasureUnit::createMegawatt(UErrorCode &status) {
859 return MeasureUnit::create(13, 3, status);
862 MeasureUnit *MeasureUnit::createMilliwatt(UErrorCode &status) {
863 return MeasureUnit::create(13, 4, status);
866 MeasureUnit *MeasureUnit::createWatt(UErrorCode &status) {
867 return MeasureUnit::create(13, 5, status);
870 MeasureUnit *MeasureUnit::createHectopascal(UErrorCode &status) {
871 return MeasureUnit::create(14, 0, status);
874 MeasureUnit *MeasureUnit::createInchHg(UErrorCode &status) {
875 return MeasureUnit::create(14, 1, status);
878 MeasureUnit *MeasureUnit::createMillibar(UErrorCode &status) {
879 return MeasureUnit::create(14, 2, status);
882 MeasureUnit *MeasureUnit::createMillimeterOfMercury(UErrorCode &status) {
883 return MeasureUnit::create(14, 3, status);
886 MeasureUnit *MeasureUnit::createPoundPerSquareInch(UErrorCode &status) {
887 return MeasureUnit::create(14, 4, status);
890 MeasureUnit *MeasureUnit::createKarat(UErrorCode &status) {
891 return MeasureUnit::create(15, 0, status);
894 MeasureUnit *MeasureUnit::createKilometerPerHour(UErrorCode &status) {
895 return MeasureUnit::create(16, 0, status);
898 MeasureUnit *MeasureUnit::createKnot(UErrorCode &status) {
899 return MeasureUnit::create(16, 1, status);
902 MeasureUnit *MeasureUnit::createMeterPerSecond(UErrorCode &status) {
903 return MeasureUnit::create(16, 2, status);
906 MeasureUnit *MeasureUnit::createMilePerHour(UErrorCode &status) {
907 return MeasureUnit::create(16, 3, status);
910 MeasureUnit *MeasureUnit::createCelsius(UErrorCode &status) {
911 return MeasureUnit::create(17, 0, status);
914 MeasureUnit *MeasureUnit::createFahrenheit(UErrorCode &status) {
915 return MeasureUnit::create(17, 1, status);
918 MeasureUnit *MeasureUnit::createGenericTemperature(UErrorCode &status) {
919 return MeasureUnit::create(17, 2, status);
922 MeasureUnit *MeasureUnit::createKelvin(UErrorCode &status) {
923 return MeasureUnit::create(17, 3, status);
926 MeasureUnit *MeasureUnit::createAcreFoot(UErrorCode &status) {
927 return MeasureUnit::create(18, 0, status);
930 MeasureUnit *MeasureUnit::createBushel(UErrorCode &status) {
931 return MeasureUnit::create(18, 1, status);
934 MeasureUnit *MeasureUnit::createCentiliter(UErrorCode &status) {
935 return MeasureUnit::create(18, 2, status);
938 MeasureUnit *MeasureUnit::createCubicCentimeter(UErrorCode &status) {
939 return MeasureUnit::create(18, 3, status);
942 MeasureUnit *MeasureUnit::createCubicFoot(UErrorCode &status) {
943 return MeasureUnit::create(18, 4, status);
946 MeasureUnit *MeasureUnit::createCubicInch(UErrorCode &status) {
947 return MeasureUnit::create(18, 5, status);
950 MeasureUnit *MeasureUnit::createCubicKilometer(UErrorCode &status) {
951 return MeasureUnit::create(18, 6, status);
954 MeasureUnit *MeasureUnit::createCubicMeter(UErrorCode &status) {
955 return MeasureUnit::create(18, 7, status);
958 MeasureUnit *MeasureUnit::createCubicMile(UErrorCode &status) {
959 return MeasureUnit::create(18, 8, status);
962 MeasureUnit *MeasureUnit::createCubicYard(UErrorCode &status) {
963 return MeasureUnit::create(18, 9, status);
966 MeasureUnit *MeasureUnit::createCup(UErrorCode &status) {
967 return MeasureUnit::create(18, 10, status);
970 MeasureUnit *MeasureUnit::createCupMetric(UErrorCode &status) {
971 return MeasureUnit::create(18, 11, status);
974 MeasureUnit *MeasureUnit::createDeciliter(UErrorCode &status) {
975 return MeasureUnit::create(18, 12, status);
978 MeasureUnit *MeasureUnit::createFluidOunce(UErrorCode &status) {
979 return MeasureUnit::create(18, 13, status);
982 MeasureUnit *MeasureUnit::createGallon(UErrorCode &status) {
983 return MeasureUnit::create(18, 14, status);
986 MeasureUnit *MeasureUnit::createHectoliter(UErrorCode &status) {
987 return MeasureUnit::create(18, 15, status);
990 MeasureUnit *MeasureUnit::createLiter(UErrorCode &status) {
991 return MeasureUnit::create(18, 16, status);
994 MeasureUnit *MeasureUnit::createMegaliter(UErrorCode &status) {
995 return MeasureUnit::create(18, 17, status);
998 MeasureUnit *MeasureUnit::createMilliliter(UErrorCode &status) {
999 return MeasureUnit::create(18, 18, status);
1002 MeasureUnit *MeasureUnit::createPint(UErrorCode &status) {
1003 return MeasureUnit::create(18, 19, status);
1006 MeasureUnit *MeasureUnit::createPintMetric(UErrorCode &status) {
1007 return MeasureUnit::create(18, 20, status);
1010 MeasureUnit *MeasureUnit::createQuart(UErrorCode &status) {
1011 return MeasureUnit::create(18, 21, status);
1014 MeasureUnit *MeasureUnit::createTablespoon(UErrorCode &status) {
1015 return MeasureUnit::create(18, 22, status);
1018 MeasureUnit *MeasureUnit::createTeaspoon(UErrorCode &status) {
1019 return MeasureUnit::create(18, 23, status);
1041 MeasureUnit::MeasureUnit(const MeasureUnit &other)
1046 MeasureUnit &MeasureUnit::operator=(const MeasureUnit &other) {
1056 UObject *MeasureUnit::clone() const {
1057 return new MeasureUnit(*this);
1060 MeasureUnit::~MeasureUnit() {
1063 const char *MeasureUnit::getType() const {
1067 const char *MeasureUnit::getSubtype() const {
1071 UBool MeasureUnit::operator==(const UObject& other) const {
1078 const MeasureUnit &rhs = static_cast<const MeasureUnit&>(other);
1085 int32_t MeasureUnit::getIndex() const {
1089 int32_t MeasureUnit::getAvailable(
1090 MeasureUnit *dest,
1112 int32_t MeasureUnit::getAvailable(
1114 MeasureUnit *dest,
1135 StringEnumeration* MeasureUnit::getAvailableTypes(UErrorCode &errorCode) {
1151 int32_t MeasureUnit::getIndexCount() {
1155 int32_t MeasureUnit::internalGetIndexForTypeAndSubtype(const char *type, const char *subtype) {
1167 MeasureUnit *MeasureUnit::resolveUnitPerUnit(
1168 const MeasureUnit &unit, const MeasureUnit &perUnit) {
1189 return new MeasureUnit(midRow[2], midRow[3]);
1195 MeasureUnit *MeasureUnit::create(int typeId, int subTypeId, UErrorCode &status) {
1199 MeasureUnit *result = new MeasureUnit(typeId, subTypeId);
1206 void MeasureUnit::initTime(const char *timeId) {
1215 void MeasureUnit::initCurrency(const char *isoCurrency) {
1228 void MeasureUnit::setTo(int32_t typeId, int32_t subTypeId) {
1234 int32_t MeasureUnit::getOffset() const {