1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "android-icu-util-IndianCalendar"))]
__jni_bindgen! {
    /// public class [IndianCalendar](https://developer.android.com/reference/android/icu/util/IndianCalendar.html)
    ///
    /// Required feature: "android-icu-util-IndianCalendar"
    public class IndianCalendar ("android/icu/util/IndianCalendar") extends crate::android::icu::util::Calendar {

        /// [IndianCalendar](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#IndianCalendar())
        pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::icu::util::IndianCalendar>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/icu/util/IndianCalendar", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V"
            unsafe {
                let __jni_args = [];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/IndianCalendar\0", "<init>\0", "()V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [IndianCalendar](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#IndianCalendar(android.icu.util.TimeZone))
        ///
        /// Required features: "android-icu-util-TimeZone"
        #[cfg(any(feature = "all", all(feature = "android-icu-util-TimeZone")))]
        pub fn new_TimeZone<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::TimeZone>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::icu::util::IndianCalendar>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/icu/util/IndianCalendar", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Landroid/icu/util/TimeZone;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/IndianCalendar\0", "<init>\0", "(Landroid/icu/util/TimeZone;)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [IndianCalendar](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#IndianCalendar(java.util.Locale))
        ///
        /// Required features: "java-util-Locale"
        #[cfg(any(feature = "all", all(feature = "java-util-Locale")))]
        pub fn new_Locale<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Locale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::icu::util::IndianCalendar>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/icu/util/IndianCalendar", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Ljava/util/Locale;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/IndianCalendar\0", "<init>\0", "(Ljava/util/Locale;)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [IndianCalendar](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#IndianCalendar(android.icu.util.ULocale))
        ///
        /// Required features: "android-icu-util-ULocale"
        #[cfg(any(feature = "all", all(feature = "android-icu-util-ULocale")))]
        pub fn new_ULocale<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::icu::util::IndianCalendar>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/icu/util/IndianCalendar", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Landroid/icu/util/ULocale;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/IndianCalendar\0", "<init>\0", "(Landroid/icu/util/ULocale;)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [IndianCalendar](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#IndianCalendar(android.icu.util.TimeZone,%20java.util.Locale))
        ///
        /// Required features: "android-icu-util-TimeZone", "java-util-Locale"
        #[cfg(any(feature = "all", all(feature = "android-icu-util-TimeZone", feature = "java-util-Locale")))]
        pub fn new_TimeZone_Locale<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::TimeZone>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Locale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::icu::util::IndianCalendar>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/icu/util/IndianCalendar", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Landroid/icu/util/TimeZone;Ljava/util/Locale;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/IndianCalendar\0", "<init>\0", "(Landroid/icu/util/TimeZone;Ljava/util/Locale;)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [IndianCalendar](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#IndianCalendar(android.icu.util.TimeZone,%20android.icu.util.ULocale))
        ///
        /// Required features: "android-icu-util-TimeZone", "android-icu-util-ULocale"
        #[cfg(any(feature = "all", all(feature = "android-icu-util-TimeZone", feature = "android-icu-util-ULocale")))]
        pub fn new_TimeZone_ULocale<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::TimeZone>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::icu::util::ULocale>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::icu::util::IndianCalendar>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/icu/util/IndianCalendar", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Landroid/icu/util/TimeZone;Landroid/icu/util/ULocale;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/IndianCalendar\0", "<init>\0", "(Landroid/icu/util/TimeZone;Landroid/icu/util/ULocale;)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [IndianCalendar](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#IndianCalendar(java.util.Date))
        ///
        /// Required features: "java-util-Date"
        #[cfg(any(feature = "all", all(feature = "java-util-Date")))]
        pub fn new_Date<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Date>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::icu::util::IndianCalendar>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/icu/util/IndianCalendar", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Ljava/util/Date;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/IndianCalendar\0", "<init>\0", "(Ljava/util/Date;)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [IndianCalendar](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#IndianCalendar(int,%20int,%20int))
        pub fn new_int_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::icu::util::IndianCalendar>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/icu/util/IndianCalendar", java.flags == PUBLIC, .name == "<init>", .descriptor == "(III)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/IndianCalendar\0", "<init>\0", "(III)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [IndianCalendar](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#IndianCalendar(int,%20int,%20int,%20int,%20int,%20int))
        pub fn new_int_int_int_int_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: i32, arg2: i32, arg3: i32, arg4: i32, arg5: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::icu::util::IndianCalendar>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/icu/util/IndianCalendar", java.flags == PUBLIC, .name == "<init>", .descriptor == "(IIIIII)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5)];
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/IndianCalendar\0", "<init>\0", "(IIIIII)V\0");
                __jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getType](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#getType())
        ///
        /// Required features: "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "java-lang-String")))]
        pub fn getType<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/icu/util/IndianCalendar", java.flags == PUBLIC, .name == "getType", .descriptor == "()Ljava/lang/String;"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/icu/util/IndianCalendar\0", "getType\0", "()Ljava/lang/String;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// public static final [AGRAHAYANA](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#AGRAHAYANA)
        pub const AGRAHAYANA : i32 = 8;

        /// public static final [ASADHA](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#ASADHA)
        pub const ASADHA : i32 = 3;

        /// public static final [ASVINA](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#ASVINA)
        pub const ASVINA : i32 = 6;

        /// public static final [BHADRA](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#BHADRA)
        pub const BHADRA : i32 = 5;

        /// public static final [CHAITRA](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#CHAITRA)
        pub const CHAITRA : i32 = 0;

        /// public static final [IE](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#IE)
        pub const IE : i32 = 0;

        /// public static final [JYAISTHA](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#JYAISTHA)
        pub const JYAISTHA : i32 = 2;

        /// public static final [KARTIKA](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#KARTIKA)
        pub const KARTIKA : i32 = 7;

        /// public static final [MAGHA](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#MAGHA)
        pub const MAGHA : i32 = 10;

        /// public static final [PAUSA](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#PAUSA)
        pub const PAUSA : i32 = 9;

        /// public static final [PHALGUNA](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#PHALGUNA)
        pub const PHALGUNA : i32 = 11;

        /// public static final [SRAVANA](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#SRAVANA)
        pub const SRAVANA : i32 = 4;

        /// public static final [VAISAKHA](https://developer.android.com/reference/android/icu/util/IndianCalendar.html#VAISAKHA)
        pub const VAISAKHA : i32 = 1;
    }
}