// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "java-util-SimpleTimeZone"))]
__jni_bindgen! {
/// public class [SimpleTimeZone](https://developer.android.com/reference/java/util/SimpleTimeZone.html)
///
/// Required feature: "java-util-SimpleTimeZone"
public class SimpleTimeZone ("java/util/SimpleTimeZone") extends crate::java::util::TimeZone {
/// [SimpleTimeZone](https://developer.android.com/reference/java/util/SimpleTimeZone.html#SimpleTimeZone(int,%20java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn new_int_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::util::SimpleTimeZone>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "<init>", .descriptor == "(ILjava/lang/String;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "<init>\0", "(ILjava/lang/String;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [SimpleTimeZone](https://developer.android.com/reference/java/util/SimpleTimeZone.html#SimpleTimeZone(int,%20java.lang.String,%20int,%20int,%20int,%20int,%20int,%20int,%20int,%20int))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn new_int_String_int_int_int_int_int_int_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg2: i32, arg3: i32, arg4: i32, arg5: i32, arg6: i32, arg7: i32, arg8: i32, arg9: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::util::SimpleTimeZone>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "<init>", .descriptor == "(ILjava/lang/String;IIIIIIII)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5), __jni_bindgen::AsJValue::as_jvalue(&arg6), __jni_bindgen::AsJValue::as_jvalue(&arg7), __jni_bindgen::AsJValue::as_jvalue(&arg8), __jni_bindgen::AsJValue::as_jvalue(&arg9)];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "<init>\0", "(ILjava/lang/String;IIIIIIII)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [SimpleTimeZone](https://developer.android.com/reference/java/util/SimpleTimeZone.html#SimpleTimeZone(int,%20java.lang.String,%20int,%20int,%20int,%20int,%20int,%20int,%20int,%20int,%20int))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn new_int_String_int_int_int_int_int_int_int_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg2: i32, arg3: i32, arg4: i32, arg5: i32, arg6: i32, arg7: i32, arg8: i32, arg9: i32, arg10: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::util::SimpleTimeZone>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "<init>", .descriptor == "(ILjava/lang/String;IIIIIIIII)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5), __jni_bindgen::AsJValue::as_jvalue(&arg6), __jni_bindgen::AsJValue::as_jvalue(&arg7), __jni_bindgen::AsJValue::as_jvalue(&arg8), __jni_bindgen::AsJValue::as_jvalue(&arg9), __jni_bindgen::AsJValue::as_jvalue(&arg10)];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "<init>\0", "(ILjava/lang/String;IIIIIIIII)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [SimpleTimeZone](https://developer.android.com/reference/java/util/SimpleTimeZone.html#SimpleTimeZone(int,%20java.lang.String,%20int,%20int,%20int,%20int,%20int,%20int,%20int,%20int,%20int,%20int,%20int))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn new_int_String_int_int_int_int_int_int_int_int_int_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg2: i32, arg3: i32, arg4: i32, arg5: i32, arg6: i32, arg7: i32, arg8: i32, arg9: i32, arg10: i32, arg11: i32, arg12: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::java::util::SimpleTimeZone>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "<init>", .descriptor == "(ILjava/lang/String;IIIIIIIIIII)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4), __jni_bindgen::AsJValue::as_jvalue(&arg5), __jni_bindgen::AsJValue::as_jvalue(&arg6), __jni_bindgen::AsJValue::as_jvalue(&arg7), __jni_bindgen::AsJValue::as_jvalue(&arg8), __jni_bindgen::AsJValue::as_jvalue(&arg9), __jni_bindgen::AsJValue::as_jvalue(&arg10), __jni_bindgen::AsJValue::as_jvalue(&arg11), __jni_bindgen::AsJValue::as_jvalue(&arg12)];
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "<init>\0", "(ILjava/lang/String;IIIIIIIIIII)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [clone](https://developer.android.com/reference/java/util/SimpleTimeZone.html#clone())
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn clone<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "clone", .descriptor == "()Ljava/lang/Object;"
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("java/util/SimpleTimeZone\0", "clone\0", "()Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [equals](https://developer.android.com/reference/java/util/SimpleTimeZone.html#equals(java.lang.Object))
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn equals<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "equals", .descriptor == "(Ljava/lang/Object;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "equals\0", "(Ljava/lang/Object;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDSTSavings](https://developer.android.com/reference/java/util/SimpleTimeZone.html#getDSTSavings())
pub fn getDSTSavings<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "getDSTSavings", .descriptor == "()I"
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("java/util/SimpleTimeZone\0", "getDSTSavings\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getOffset](https://developer.android.com/reference/java/util/SimpleTimeZone.html#getOffset(int,%20int,%20int,%20int,%20int,%20int))
pub fn getOffset_int_int_int_int_int_int<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32, arg3: i32, arg4: i32, arg5: i32) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "getOffset", .descriptor == "(IIIIII)I"
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_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "getOffset\0", "(IIIIII)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getOffset](https://developer.android.com/reference/java/util/SimpleTimeZone.html#getOffset(long))
pub fn getOffset_long<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "getOffset", .descriptor == "(J)I"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "getOffset\0", "(J)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getRawOffset](https://developer.android.com/reference/java/util/SimpleTimeZone.html#getRawOffset())
pub fn getRawOffset<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "getRawOffset", .descriptor == "()I"
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("java/util/SimpleTimeZone\0", "getRawOffset\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [hashCode](https://developer.android.com/reference/java/util/SimpleTimeZone.html#hashCode())
pub fn hashCode<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC | SYNCRONIZED, .name == "hashCode", .descriptor == "()I"
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("java/util/SimpleTimeZone\0", "hashCode\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [hasSameRules](https://developer.android.com/reference/java/util/SimpleTimeZone.html#hasSameRules(java.util.TimeZone))
///
/// Required features: "java-util-TimeZone"
#[cfg(any(feature = "all", all(feature = "java-util-TimeZone")))]
pub fn hasSameRules<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::TimeZone>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "hasSameRules", .descriptor == "(Ljava/util/TimeZone;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "hasSameRules\0", "(Ljava/util/TimeZone;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [inDaylightTime](https://developer.android.com/reference/java/util/SimpleTimeZone.html#inDaylightTime(java.util.Date))
///
/// Required features: "java-util-Date"
#[cfg(any(feature = "all", all(feature = "java-util-Date")))]
pub fn inDaylightTime<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Date>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "inDaylightTime", .descriptor == "(Ljava/util/Date;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "inDaylightTime\0", "(Ljava/util/Date;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setDSTSavings](https://developer.android.com/reference/java/util/SimpleTimeZone.html#setDSTSavings(int))
pub fn setDSTSavings<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "setDSTSavings", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "setDSTSavings\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setEndRule](https://developer.android.com/reference/java/util/SimpleTimeZone.html#setEndRule(int,%20int,%20int))
pub fn setEndRule_int_int_int<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "setEndRule", .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_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "setEndRule\0", "(III)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setEndRule](https://developer.android.com/reference/java/util/SimpleTimeZone.html#setEndRule(int,%20int,%20int,%20int))
pub fn setEndRule_int_int_int_int<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32, arg3: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "setEndRule", .descriptor == "(IIII)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)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "setEndRule\0", "(IIII)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setEndRule](https://developer.android.com/reference/java/util/SimpleTimeZone.html#setEndRule(int,%20int,%20int,%20int,%20boolean))
pub fn setEndRule_int_int_int_int_boolean<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32, arg3: i32, arg4: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "setEndRule", .descriptor == "(IIIIZ)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)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "setEndRule\0", "(IIIIZ)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setRawOffset](https://developer.android.com/reference/java/util/SimpleTimeZone.html#setRawOffset(int))
pub fn setRawOffset<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "setRawOffset", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "setRawOffset\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setStartRule](https://developer.android.com/reference/java/util/SimpleTimeZone.html#setStartRule(int,%20int,%20int))
pub fn setStartRule_int_int_int<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "setStartRule", .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_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "setStartRule\0", "(III)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setStartRule](https://developer.android.com/reference/java/util/SimpleTimeZone.html#setStartRule(int,%20int,%20int,%20int))
pub fn setStartRule_int_int_int_int<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32, arg3: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "setStartRule", .descriptor == "(IIII)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)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "setStartRule\0", "(IIII)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setStartRule](https://developer.android.com/reference/java/util/SimpleTimeZone.html#setStartRule(int,%20int,%20int,%20int,%20boolean))
pub fn setStartRule_int_int_int_int_boolean<'env>(&'env self, arg0: i32, arg1: i32, arg2: i32, arg3: i32, arg4: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "setStartRule", .descriptor == "(IIIIZ)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)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "setStartRule\0", "(IIIIZ)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setStartYear](https://developer.android.com/reference/java/util/SimpleTimeZone.html#setStartYear(int))
pub fn setStartYear<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "setStartYear", .descriptor == "(I)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/util/SimpleTimeZone\0", "setStartYear\0", "(I)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toString](https://developer.android.com/reference/java/util/SimpleTimeZone.html#toString())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn toString<'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 == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "toString", .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("java/util/SimpleTimeZone\0", "toString\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [useDaylightTime](https://developer.android.com/reference/java/util/SimpleTimeZone.html#useDaylightTime())
pub fn useDaylightTime<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/util/SimpleTimeZone", java.flags == PUBLIC, .name == "useDaylightTime", .descriptor == "()Z"
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("java/util/SimpleTimeZone\0", "useDaylightTime\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// public static final [UTC_TIME](https://developer.android.com/reference/java/util/SimpleTimeZone.html#UTC_TIME)
pub const UTC_TIME : i32 = 2;
/// public static final [STANDARD_TIME](https://developer.android.com/reference/java/util/SimpleTimeZone.html#STANDARD_TIME)
pub const STANDARD_TIME : i32 = 1;
/// public static final [WALL_TIME](https://developer.android.com/reference/java/util/SimpleTimeZone.html#WALL_TIME)
pub const WALL_TIME : i32 = 0;
}
}