// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "java-time-OffsetDateTime"))]
__jni_bindgen! {
/// public final class [OffsetDateTime](https://developer.android.com/reference/java/time/OffsetDateTime.html)
///
/// Required feature: "java-time-OffsetDateTime"
public final class OffsetDateTime ("java/time/OffsetDateTime") extends crate::java::lang::Object, implements crate::java::time::temporal::Temporal, crate::java::time::temporal::TemporalAdjuster, crate::java::lang::Comparable, crate::java::io::Serializable {
/// [timeLineOrder](https://developer.android.com/reference/java/time/OffsetDateTime.html#timeLineOrder())
///
/// Required features: "java-util-Comparator"
#[cfg(any(feature = "all", all(feature = "java-util-Comparator")))]
pub fn timeLineOrder<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::util::Comparator>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC | STATIC, .name == "timeLineOrder", .descriptor == "()Ljava/util/Comparator;"
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/OffsetDateTime\0", "timeLineOrder\0", "()Ljava/util/Comparator;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [now](https://developer.android.com/reference/java/time/OffsetDateTime.html#now())
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn now<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC | STATIC, .name == "now", .descriptor == "()Ljava/time/OffsetDateTime;"
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/OffsetDateTime\0", "now\0", "()Ljava/time/OffsetDateTime;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [now](https://developer.android.com/reference/java/time/OffsetDateTime.html#now(java.time.ZoneId))
///
/// Required features: "java-time-OffsetDateTime", "java-time-ZoneId"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime", feature = "java-time-ZoneId")))]
pub fn now_ZoneId<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::ZoneId>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC | STATIC, .name == "now", .descriptor == "(Ljava/time/ZoneId;)Ljava/time/OffsetDateTime;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/OffsetDateTime\0", "now\0", "(Ljava/time/ZoneId;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [now](https://developer.android.com/reference/java/time/OffsetDateTime.html#now(java.time.Clock))
///
/// Required features: "java-time-Clock", "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-Clock", feature = "java-time-OffsetDateTime")))]
pub fn now_Clock<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::Clock>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC | STATIC, .name == "now", .descriptor == "(Ljava/time/Clock;)Ljava/time/OffsetDateTime;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/OffsetDateTime\0", "now\0", "(Ljava/time/Clock;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [of](https://developer.android.com/reference/java/time/OffsetDateTime.html#of(java.time.LocalDate,%20java.time.LocalTime,%20java.time.ZoneOffset))
///
/// Required features: "java-time-LocalDate", "java-time-LocalTime", "java-time-OffsetDateTime", "java-time-ZoneOffset"
#[cfg(any(feature = "all", all(feature = "java-time-LocalDate", feature = "java-time-LocalTime", feature = "java-time-OffsetDateTime", feature = "java-time-ZoneOffset")))]
pub fn of_LocalDate_LocalTime_ZoneOffset<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::LocalDate>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::LocalTime>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::ZoneOffset>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC | STATIC, .name == "of", .descriptor == "(Ljava/time/LocalDate;Ljava/time/LocalTime;Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/OffsetDateTime\0", "of\0", "(Ljava/time/LocalDate;Ljava/time/LocalTime;Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [of](https://developer.android.com/reference/java/time/OffsetDateTime.html#of(java.time.LocalDateTime,%20java.time.ZoneOffset))
///
/// Required features: "java-time-LocalDateTime", "java-time-OffsetDateTime", "java-time-ZoneOffset"
#[cfg(any(feature = "all", all(feature = "java-time-LocalDateTime", feature = "java-time-OffsetDateTime", feature = "java-time-ZoneOffset")))]
pub fn of_LocalDateTime_ZoneOffset<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::LocalDateTime>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::ZoneOffset>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC | STATIC, .name == "of", .descriptor == "(Ljava/time/LocalDateTime;Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;"
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_static_method("java/time/OffsetDateTime\0", "of\0", "(Ljava/time/LocalDateTime;Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [of](https://developer.android.com/reference/java/time/OffsetDateTime.html#of(int,%20int,%20int,%20int,%20int,%20int,%20int,%20java.time.ZoneOffset))
///
/// Required features: "java-time-OffsetDateTime", "java-time-ZoneOffset"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime", feature = "java-time-ZoneOffset")))]
pub fn of_int_int_int_int_int_int_int_ZoneOffset<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: i32, arg2: i32, arg3: i32, arg4: i32, arg5: i32, arg6: i32, arg7: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::ZoneOffset>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC | STATIC, .name == "of", .descriptor == "(IIIIIIILjava/time/ZoneOffset;)Ljava/time/OffsetDateTime;"
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), __jni_bindgen::AsJValue::as_jvalue(&arg6), __jni_bindgen::AsJValue::as_jvalue(&arg7.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/OffsetDateTime\0", "of\0", "(IIIIIIILjava/time/ZoneOffset;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [ofInstant](https://developer.android.com/reference/java/time/OffsetDateTime.html#ofInstant(java.time.Instant,%20java.time.ZoneId))
///
/// Required features: "java-time-Instant", "java-time-OffsetDateTime", "java-time-ZoneId"
#[cfg(any(feature = "all", all(feature = "java-time-Instant", feature = "java-time-OffsetDateTime", feature = "java-time-ZoneId")))]
pub fn ofInstant<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::Instant>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::ZoneId>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC | STATIC, .name == "ofInstant", .descriptor == "(Ljava/time/Instant;Ljava/time/ZoneId;)Ljava/time/OffsetDateTime;"
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_static_method("java/time/OffsetDateTime\0", "ofInstant\0", "(Ljava/time/Instant;Ljava/time/ZoneId;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [from](https://developer.android.com/reference/java/time/OffsetDateTime.html#from(java.time.temporal.TemporalAccessor))
///
/// Required features: "java-time-OffsetDateTime", "java-time-temporal-TemporalAccessor"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime", feature = "java-time-temporal-TemporalAccessor")))]
pub fn from<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::TemporalAccessor>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC | STATIC, .name == "from", .descriptor == "(Ljava/time/temporal/TemporalAccessor;)Ljava/time/OffsetDateTime;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/OffsetDateTime\0", "from\0", "(Ljava/time/temporal/TemporalAccessor;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [parse](https://developer.android.com/reference/java/time/OffsetDateTime.html#parse(java.lang.CharSequence))
///
/// Required features: "java-lang-CharSequence", "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence", feature = "java-time-OffsetDateTime")))]
pub fn parse_CharSequence<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC | STATIC, .name == "parse", .descriptor == "(Ljava/lang/CharSequence;)Ljava/time/OffsetDateTime;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/OffsetDateTime\0", "parse\0", "(Ljava/lang/CharSequence;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [parse](https://developer.android.com/reference/java/time/OffsetDateTime.html#parse(java.lang.CharSequence,%20java.time.format.DateTimeFormatter))
///
/// Required features: "java-lang-CharSequence", "java-time-OffsetDateTime", "java-time-format-DateTimeFormatter"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence", feature = "java-time-OffsetDateTime", feature = "java-time-format-DateTimeFormatter")))]
pub fn parse_CharSequence_DateTimeFormatter<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::CharSequence>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::format::DateTimeFormatter>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC | STATIC, .name == "parse", .descriptor == "(Ljava/lang/CharSequence;Ljava/time/format/DateTimeFormatter;)Ljava/time/OffsetDateTime;"
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_static_method("java/time/OffsetDateTime\0", "parse\0", "(Ljava/lang/CharSequence;Ljava/time/format/DateTimeFormatter;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [isSupported](https://developer.android.com/reference/java/time/OffsetDateTime.html#isSupported(java.time.temporal.TemporalField))
///
/// Required features: "java-time-temporal-TemporalField"
#[cfg(any(feature = "all", all(feature = "java-time-temporal-TemporalField")))]
pub fn isSupported_TemporalField<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::TemporalField>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "isSupported", .descriptor == "(Ljava/time/temporal/TemporalField;)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/time/OffsetDateTime\0", "isSupported\0", "(Ljava/time/temporal/TemporalField;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [isSupported](https://developer.android.com/reference/java/time/OffsetDateTime.html#isSupported(java.time.temporal.TemporalUnit))
///
/// Required features: "java-time-temporal-TemporalUnit"
#[cfg(any(feature = "all", all(feature = "java-time-temporal-TemporalUnit")))]
pub fn isSupported_TemporalUnit<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::TemporalUnit>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "isSupported", .descriptor == "(Ljava/time/temporal/TemporalUnit;)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/time/OffsetDateTime\0", "isSupported\0", "(Ljava/time/temporal/TemporalUnit;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [range](https://developer.android.com/reference/java/time/OffsetDateTime.html#range(java.time.temporal.TemporalField))
///
/// Required features: "java-time-temporal-TemporalField", "java-time-temporal-ValueRange"
#[cfg(any(feature = "all", all(feature = "java-time-temporal-TemporalField", feature = "java-time-temporal-ValueRange")))]
pub fn range<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::TemporalField>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::temporal::ValueRange>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "range", .descriptor == "(Ljava/time/temporal/TemporalField;)Ljava/time/temporal/ValueRange;"
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/time/OffsetDateTime\0", "range\0", "(Ljava/time/temporal/TemporalField;)Ljava/time/temporal/ValueRange;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [get](https://developer.android.com/reference/java/time/OffsetDateTime.html#get(java.time.temporal.TemporalField))
///
/// Required features: "java-time-temporal-TemporalField"
#[cfg(any(feature = "all", all(feature = "java-time-temporal-TemporalField")))]
pub fn get<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::TemporalField>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "get", .descriptor == "(Ljava/time/temporal/TemporalField;)I"
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/time/OffsetDateTime\0", "get\0", "(Ljava/time/temporal/TemporalField;)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getLong](https://developer.android.com/reference/java/time/OffsetDateTime.html#getLong(java.time.temporal.TemporalField))
///
/// Required features: "java-time-temporal-TemporalField"
#[cfg(any(feature = "all", all(feature = "java-time-temporal-TemporalField")))]
pub fn getLong<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::TemporalField>>) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "getLong", .descriptor == "(Ljava/time/temporal/TemporalField;)J"
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/time/OffsetDateTime\0", "getLong\0", "(Ljava/time/temporal/TemporalField;)J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getOffset](https://developer.android.com/reference/java/time/OffsetDateTime.html#getOffset())
///
/// Required features: "java-time-ZoneOffset"
#[cfg(any(feature = "all", all(feature = "java-time-ZoneOffset")))]
pub fn getOffset<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::ZoneOffset>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "getOffset", .descriptor == "()Ljava/time/ZoneOffset;"
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/time/OffsetDateTime\0", "getOffset\0", "()Ljava/time/ZoneOffset;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [withOffsetSameLocal](https://developer.android.com/reference/java/time/OffsetDateTime.html#withOffsetSameLocal(java.time.ZoneOffset))
///
/// Required features: "java-time-OffsetDateTime", "java-time-ZoneOffset"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime", feature = "java-time-ZoneOffset")))]
pub fn withOffsetSameLocal<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::ZoneOffset>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "withOffsetSameLocal", .descriptor == "(Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "withOffsetSameLocal\0", "(Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [withOffsetSameInstant](https://developer.android.com/reference/java/time/OffsetDateTime.html#withOffsetSameInstant(java.time.ZoneOffset))
///
/// Required features: "java-time-OffsetDateTime", "java-time-ZoneOffset"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime", feature = "java-time-ZoneOffset")))]
pub fn withOffsetSameInstant<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::ZoneOffset>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "withOffsetSameInstant", .descriptor == "(Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "withOffsetSameInstant\0", "(Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toLocalDateTime](https://developer.android.com/reference/java/time/OffsetDateTime.html#toLocalDateTime())
///
/// Required features: "java-time-LocalDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-LocalDateTime")))]
pub fn toLocalDateTime<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::LocalDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "toLocalDateTime", .descriptor == "()Ljava/time/LocalDateTime;"
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/time/OffsetDateTime\0", "toLocalDateTime\0", "()Ljava/time/LocalDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toLocalDate](https://developer.android.com/reference/java/time/OffsetDateTime.html#toLocalDate())
///
/// Required features: "java-time-LocalDate"
#[cfg(any(feature = "all", all(feature = "java-time-LocalDate")))]
pub fn toLocalDate<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::LocalDate>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "toLocalDate", .descriptor == "()Ljava/time/LocalDate;"
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/time/OffsetDateTime\0", "toLocalDate\0", "()Ljava/time/LocalDate;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getYear](https://developer.android.com/reference/java/time/OffsetDateTime.html#getYear())
pub fn getYear<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "getYear", .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/time/OffsetDateTime\0", "getYear\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getMonthValue](https://developer.android.com/reference/java/time/OffsetDateTime.html#getMonthValue())
pub fn getMonthValue<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "getMonthValue", .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/time/OffsetDateTime\0", "getMonthValue\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getMonth](https://developer.android.com/reference/java/time/OffsetDateTime.html#getMonth())
///
/// Required features: "java-time-Month"
#[cfg(any(feature = "all", all(feature = "java-time-Month")))]
pub fn getMonth<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::Month>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "getMonth", .descriptor == "()Ljava/time/Month;"
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/time/OffsetDateTime\0", "getMonth\0", "()Ljava/time/Month;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDayOfMonth](https://developer.android.com/reference/java/time/OffsetDateTime.html#getDayOfMonth())
pub fn getDayOfMonth<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "getDayOfMonth", .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/time/OffsetDateTime\0", "getDayOfMonth\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDayOfYear](https://developer.android.com/reference/java/time/OffsetDateTime.html#getDayOfYear())
pub fn getDayOfYear<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "getDayOfYear", .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/time/OffsetDateTime\0", "getDayOfYear\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDayOfWeek](https://developer.android.com/reference/java/time/OffsetDateTime.html#getDayOfWeek())
///
/// Required features: "java-time-DayOfWeek"
#[cfg(any(feature = "all", all(feature = "java-time-DayOfWeek")))]
pub fn getDayOfWeek<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::DayOfWeek>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "getDayOfWeek", .descriptor == "()Ljava/time/DayOfWeek;"
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/time/OffsetDateTime\0", "getDayOfWeek\0", "()Ljava/time/DayOfWeek;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toLocalTime](https://developer.android.com/reference/java/time/OffsetDateTime.html#toLocalTime())
///
/// Required features: "java-time-LocalTime"
#[cfg(any(feature = "all", all(feature = "java-time-LocalTime")))]
pub fn toLocalTime<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::LocalTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "toLocalTime", .descriptor == "()Ljava/time/LocalTime;"
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/time/OffsetDateTime\0", "toLocalTime\0", "()Ljava/time/LocalTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getHour](https://developer.android.com/reference/java/time/OffsetDateTime.html#getHour())
pub fn getHour<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "getHour", .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/time/OffsetDateTime\0", "getHour\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getMinute](https://developer.android.com/reference/java/time/OffsetDateTime.html#getMinute())
pub fn getMinute<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "getMinute", .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/time/OffsetDateTime\0", "getMinute\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getSecond](https://developer.android.com/reference/java/time/OffsetDateTime.html#getSecond())
pub fn getSecond<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "getSecond", .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/time/OffsetDateTime\0", "getSecond\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getNano](https://developer.android.com/reference/java/time/OffsetDateTime.html#getNano())
pub fn getNano<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "getNano", .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/time/OffsetDateTime\0", "getNano\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [with](https://developer.android.com/reference/java/time/OffsetDateTime.html#with(java.time.temporal.TemporalAdjuster))
///
/// Required features: "java-time-OffsetDateTime", "java-time-temporal-TemporalAdjuster"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime", feature = "java-time-temporal-TemporalAdjuster")))]
pub fn with_TemporalAdjuster<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::TemporalAdjuster>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "with", .descriptor == "(Ljava/time/temporal/TemporalAdjuster;)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "with\0", "(Ljava/time/temporal/TemporalAdjuster;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [with](https://developer.android.com/reference/java/time/OffsetDateTime.html#with(java.time.temporal.TemporalField,%20long))
///
/// Required features: "java-time-OffsetDateTime", "java-time-temporal-TemporalField"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime", feature = "java-time-temporal-TemporalField")))]
pub fn with_TemporalField_long<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::TemporalField>>, arg1: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "with", .descriptor == "(Ljava/time/temporal/TemporalField;J)Ljava/time/OffsetDateTime;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/time/OffsetDateTime\0", "with\0", "(Ljava/time/temporal/TemporalField;J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [withYear](https://developer.android.com/reference/java/time/OffsetDateTime.html#withYear(int))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn withYear<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "withYear", .descriptor == "(I)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "withYear\0", "(I)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [withMonth](https://developer.android.com/reference/java/time/OffsetDateTime.html#withMonth(int))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn withMonth<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "withMonth", .descriptor == "(I)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "withMonth\0", "(I)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [withDayOfMonth](https://developer.android.com/reference/java/time/OffsetDateTime.html#withDayOfMonth(int))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn withDayOfMonth<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "withDayOfMonth", .descriptor == "(I)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "withDayOfMonth\0", "(I)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [withDayOfYear](https://developer.android.com/reference/java/time/OffsetDateTime.html#withDayOfYear(int))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn withDayOfYear<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "withDayOfYear", .descriptor == "(I)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "withDayOfYear\0", "(I)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [withHour](https://developer.android.com/reference/java/time/OffsetDateTime.html#withHour(int))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn withHour<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "withHour", .descriptor == "(I)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "withHour\0", "(I)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [withMinute](https://developer.android.com/reference/java/time/OffsetDateTime.html#withMinute(int))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn withMinute<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "withMinute", .descriptor == "(I)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "withMinute\0", "(I)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [withSecond](https://developer.android.com/reference/java/time/OffsetDateTime.html#withSecond(int))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn withSecond<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "withSecond", .descriptor == "(I)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "withSecond\0", "(I)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [withNano](https://developer.android.com/reference/java/time/OffsetDateTime.html#withNano(int))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn withNano<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "withNano", .descriptor == "(I)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "withNano\0", "(I)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [truncatedTo](https://developer.android.com/reference/java/time/OffsetDateTime.html#truncatedTo(java.time.temporal.TemporalUnit))
///
/// Required features: "java-time-OffsetDateTime", "java-time-temporal-TemporalUnit"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime", feature = "java-time-temporal-TemporalUnit")))]
pub fn truncatedTo<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::TemporalUnit>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "truncatedTo", .descriptor == "(Ljava/time/temporal/TemporalUnit;)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "truncatedTo\0", "(Ljava/time/temporal/TemporalUnit;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [plus](https://developer.android.com/reference/java/time/OffsetDateTime.html#plus(java.time.temporal.TemporalAmount))
///
/// Required features: "java-time-OffsetDateTime", "java-time-temporal-TemporalAmount"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime", feature = "java-time-temporal-TemporalAmount")))]
pub fn plus_TemporalAmount<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::TemporalAmount>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "plus", .descriptor == "(Ljava/time/temporal/TemporalAmount;)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "plus\0", "(Ljava/time/temporal/TemporalAmount;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [plus](https://developer.android.com/reference/java/time/OffsetDateTime.html#plus(long,%20java.time.temporal.TemporalUnit))
///
/// Required features: "java-time-OffsetDateTime", "java-time-temporal-TemporalUnit"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime", feature = "java-time-temporal-TemporalUnit")))]
pub fn plus_long_TemporalUnit<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::TemporalUnit>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "plus", .descriptor == "(JLjava/time/temporal/TemporalUnit;)Ljava/time/OffsetDateTime;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/time/OffsetDateTime\0", "plus\0", "(JLjava/time/temporal/TemporalUnit;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [plusYears](https://developer.android.com/reference/java/time/OffsetDateTime.html#plusYears(long))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn plusYears<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "plusYears", .descriptor == "(J)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "plusYears\0", "(J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [plusMonths](https://developer.android.com/reference/java/time/OffsetDateTime.html#plusMonths(long))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn plusMonths<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "plusMonths", .descriptor == "(J)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "plusMonths\0", "(J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [plusWeeks](https://developer.android.com/reference/java/time/OffsetDateTime.html#plusWeeks(long))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn plusWeeks<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "plusWeeks", .descriptor == "(J)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "plusWeeks\0", "(J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [plusDays](https://developer.android.com/reference/java/time/OffsetDateTime.html#plusDays(long))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn plusDays<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "plusDays", .descriptor == "(J)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "plusDays\0", "(J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [plusHours](https://developer.android.com/reference/java/time/OffsetDateTime.html#plusHours(long))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn plusHours<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "plusHours", .descriptor == "(J)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "plusHours\0", "(J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [plusMinutes](https://developer.android.com/reference/java/time/OffsetDateTime.html#plusMinutes(long))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn plusMinutes<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "plusMinutes", .descriptor == "(J)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "plusMinutes\0", "(J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [plusSeconds](https://developer.android.com/reference/java/time/OffsetDateTime.html#plusSeconds(long))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn plusSeconds<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "plusSeconds", .descriptor == "(J)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "plusSeconds\0", "(J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [plusNanos](https://developer.android.com/reference/java/time/OffsetDateTime.html#plusNanos(long))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn plusNanos<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "plusNanos", .descriptor == "(J)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "plusNanos\0", "(J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [minus](https://developer.android.com/reference/java/time/OffsetDateTime.html#minus(java.time.temporal.TemporalAmount))
///
/// Required features: "java-time-OffsetDateTime", "java-time-temporal-TemporalAmount"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime", feature = "java-time-temporal-TemporalAmount")))]
pub fn minus_TemporalAmount<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::TemporalAmount>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "minus", .descriptor == "(Ljava/time/temporal/TemporalAmount;)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "minus\0", "(Ljava/time/temporal/TemporalAmount;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [minus](https://developer.android.com/reference/java/time/OffsetDateTime.html#minus(long,%20java.time.temporal.TemporalUnit))
///
/// Required features: "java-time-OffsetDateTime", "java-time-temporal-TemporalUnit"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime", feature = "java-time-temporal-TemporalUnit")))]
pub fn minus_long_TemporalUnit<'env>(&'env self, arg0: i64, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::TemporalUnit>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "minus", .descriptor == "(JLjava/time/temporal/TemporalUnit;)Ljava/time/OffsetDateTime;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/time/OffsetDateTime\0", "minus\0", "(JLjava/time/temporal/TemporalUnit;)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [minusYears](https://developer.android.com/reference/java/time/OffsetDateTime.html#minusYears(long))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn minusYears<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "minusYears", .descriptor == "(J)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "minusYears\0", "(J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [minusMonths](https://developer.android.com/reference/java/time/OffsetDateTime.html#minusMonths(long))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn minusMonths<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "minusMonths", .descriptor == "(J)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "minusMonths\0", "(J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [minusWeeks](https://developer.android.com/reference/java/time/OffsetDateTime.html#minusWeeks(long))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn minusWeeks<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "minusWeeks", .descriptor == "(J)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "minusWeeks\0", "(J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [minusDays](https://developer.android.com/reference/java/time/OffsetDateTime.html#minusDays(long))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn minusDays<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "minusDays", .descriptor == "(J)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "minusDays\0", "(J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [minusHours](https://developer.android.com/reference/java/time/OffsetDateTime.html#minusHours(long))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn minusHours<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "minusHours", .descriptor == "(J)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "minusHours\0", "(J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [minusMinutes](https://developer.android.com/reference/java/time/OffsetDateTime.html#minusMinutes(long))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn minusMinutes<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "minusMinutes", .descriptor == "(J)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "minusMinutes\0", "(J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [minusSeconds](https://developer.android.com/reference/java/time/OffsetDateTime.html#minusSeconds(long))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn minusSeconds<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "minusSeconds", .descriptor == "(J)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "minusSeconds\0", "(J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [minusNanos](https://developer.android.com/reference/java/time/OffsetDateTime.html#minusNanos(long))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn minusNanos<'env>(&'env self, arg0: i64) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "minusNanos", .descriptor == "(J)Ljava/time/OffsetDateTime;"
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/time/OffsetDateTime\0", "minusNanos\0", "(J)Ljava/time/OffsetDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [query](https://developer.android.com/reference/java/time/OffsetDateTime.html#query(java.time.temporal.TemporalQuery))
///
/// Required features: "java-lang-Object", "java-time-temporal-TemporalQuery"
#[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "java-time-temporal-TemporalQuery")))]
pub fn query<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::TemporalQuery>>) -> __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/time/OffsetDateTime", java.flags == PUBLIC, .name == "query", .descriptor == "(Ljava/time/temporal/TemporalQuery;)Ljava/lang/Object;"
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/time/OffsetDateTime\0", "query\0", "(Ljava/time/temporal/TemporalQuery;)Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [adjustInto](https://developer.android.com/reference/java/time/OffsetDateTime.html#adjustInto(java.time.temporal.Temporal))
///
/// Required features: "java-time-temporal-Temporal"
#[cfg(any(feature = "all", all(feature = "java-time-temporal-Temporal")))]
pub fn adjustInto<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::Temporal>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::temporal::Temporal>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "adjustInto", .descriptor == "(Ljava/time/temporal/Temporal;)Ljava/time/temporal/Temporal;"
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/time/OffsetDateTime\0", "adjustInto\0", "(Ljava/time/temporal/Temporal;)Ljava/time/temporal/Temporal;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [until](https://developer.android.com/reference/java/time/OffsetDateTime.html#until(java.time.temporal.Temporal,%20java.time.temporal.TemporalUnit))
///
/// Required features: "java-time-temporal-Temporal", "java-time-temporal-TemporalUnit"
#[cfg(any(feature = "all", all(feature = "java-time-temporal-Temporal", feature = "java-time-temporal-TemporalUnit")))]
pub fn until<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::Temporal>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::temporal::TemporalUnit>>) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "until", .descriptor == "(Ljava/time/temporal/Temporal;Ljava/time/temporal/TemporalUnit;)J"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("java/time/OffsetDateTime\0", "until\0", "(Ljava/time/temporal/Temporal;Ljava/time/temporal/TemporalUnit;)J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [format](https://developer.android.com/reference/java/time/OffsetDateTime.html#format(java.time.format.DateTimeFormatter))
///
/// Required features: "java-lang-String", "java-time-format-DateTimeFormatter"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-time-format-DateTimeFormatter")))]
pub fn format<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::format::DateTimeFormatter>>) -> __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/time/OffsetDateTime", java.flags == PUBLIC, .name == "format", .descriptor == "(Ljava/time/format/DateTimeFormatter;)Ljava/lang/String;"
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/time/OffsetDateTime\0", "format\0", "(Ljava/time/format/DateTimeFormatter;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [atZoneSameInstant](https://developer.android.com/reference/java/time/OffsetDateTime.html#atZoneSameInstant(java.time.ZoneId))
///
/// Required features: "java-time-ZoneId", "java-time-ZonedDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-ZoneId", feature = "java-time-ZonedDateTime")))]
pub fn atZoneSameInstant<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::ZoneId>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::ZonedDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "atZoneSameInstant", .descriptor == "(Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;"
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/time/OffsetDateTime\0", "atZoneSameInstant\0", "(Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [atZoneSimilarLocal](https://developer.android.com/reference/java/time/OffsetDateTime.html#atZoneSimilarLocal(java.time.ZoneId))
///
/// Required features: "java-time-ZoneId", "java-time-ZonedDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-ZoneId", feature = "java-time-ZonedDateTime")))]
pub fn atZoneSimilarLocal<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::ZoneId>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::ZonedDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "atZoneSimilarLocal", .descriptor == "(Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;"
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/time/OffsetDateTime\0", "atZoneSimilarLocal\0", "(Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toOffsetTime](https://developer.android.com/reference/java/time/OffsetDateTime.html#toOffsetTime())
///
/// Required features: "java-time-OffsetTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetTime")))]
pub fn toOffsetTime<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "toOffsetTime", .descriptor == "()Ljava/time/OffsetTime;"
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/time/OffsetDateTime\0", "toOffsetTime\0", "()Ljava/time/OffsetTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toZonedDateTime](https://developer.android.com/reference/java/time/OffsetDateTime.html#toZonedDateTime())
///
/// Required features: "java-time-ZonedDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-ZonedDateTime")))]
pub fn toZonedDateTime<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::ZonedDateTime>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "toZonedDateTime", .descriptor == "()Ljava/time/ZonedDateTime;"
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/time/OffsetDateTime\0", "toZonedDateTime\0", "()Ljava/time/ZonedDateTime;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toInstant](https://developer.android.com/reference/java/time/OffsetDateTime.html#toInstant())
///
/// Required features: "java-time-Instant"
#[cfg(any(feature = "all", all(feature = "java-time-Instant")))]
pub fn toInstant<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::Instant>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "toInstant", .descriptor == "()Ljava/time/Instant;"
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/time/OffsetDateTime\0", "toInstant\0", "()Ljava/time/Instant;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toEpochSecond](https://developer.android.com/reference/java/time/OffsetDateTime.html#toEpochSecond())
pub fn toEpochSecond<'env>(&'env self) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "toEpochSecond", .descriptor == "()J"
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/time/OffsetDateTime\0", "toEpochSecond\0", "()J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [compareTo](https://developer.android.com/reference/java/time/OffsetDateTime.html#compareTo(java.time.OffsetDateTime))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn compareTo_OffsetDateTime<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::OffsetDateTime>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "compareTo", .descriptor == "(Ljava/time/OffsetDateTime;)I"
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/time/OffsetDateTime\0", "compareTo\0", "(Ljava/time/OffsetDateTime;)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [isAfter](https://developer.android.com/reference/java/time/OffsetDateTime.html#isAfter(java.time.OffsetDateTime))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn isAfter<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::OffsetDateTime>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "isAfter", .descriptor == "(Ljava/time/OffsetDateTime;)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/time/OffsetDateTime\0", "isAfter\0", "(Ljava/time/OffsetDateTime;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [isBefore](https://developer.android.com/reference/java/time/OffsetDateTime.html#isBefore(java.time.OffsetDateTime))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn isBefore<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::OffsetDateTime>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "isBefore", .descriptor == "(Ljava/time/OffsetDateTime;)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/time/OffsetDateTime\0", "isBefore\0", "(Ljava/time/OffsetDateTime;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [isEqual](https://developer.android.com/reference/java/time/OffsetDateTime.html#isEqual(java.time.OffsetDateTime))
///
/// Required features: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", all(feature = "java-time-OffsetDateTime")))]
pub fn isEqual<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::OffsetDateTime>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/OffsetDateTime", java.flags == PUBLIC, .name == "isEqual", .descriptor == "(Ljava/time/OffsetDateTime;)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/time/OffsetDateTime\0", "isEqual\0", "(Ljava/time/OffsetDateTime;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [equals](https://developer.android.com/reference/java/time/OffsetDateTime.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/time/OffsetDateTime", 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/time/OffsetDateTime\0", "equals\0", "(Ljava/lang/Object;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [hashCode](https://developer.android.com/reference/java/time/OffsetDateTime.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/time/OffsetDateTime", java.flags == PUBLIC, .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/time/OffsetDateTime\0", "hashCode\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toString](https://developer.android.com/reference/java/time/OffsetDateTime.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/time/OffsetDateTime", 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/time/OffsetDateTime\0", "toString\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// **get** public static final [MAX](https://developer.android.com/reference/java/time/OffsetDateTime.html#MAX)
///
/// Required feature: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", feature = "java-time-OffsetDateTime"))]
pub fn MAX<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("java/time/OffsetDateTime\0", "MAX\0", "Ljava/time/OffsetDateTime;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
/// **get** public static final [MIN](https://developer.android.com/reference/java/time/OffsetDateTime.html#MIN)
///
/// Required feature: "java-time-OffsetDateTime"
#[cfg(any(feature = "all", feature = "java-time-OffsetDateTime"))]
pub fn MIN<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::OffsetDateTime>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("java/time/OffsetDateTime\0", "MIN\0", "Ljava/time/OffsetDateTime;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
}
}