// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "java-time-MonthDay"))]
__jni_bindgen! {
/// public final class [MonthDay](https://developer.android.com/reference/java/time/MonthDay.html)
///
/// Required feature: "java-time-MonthDay"
public final class MonthDay ("java/time/MonthDay") extends crate::java::lang::Object, implements crate::java::time::temporal::TemporalAccessor, crate::java::time::temporal::TemporalAdjuster, crate::java::lang::Comparable, crate::java::io::Serializable {
/// [now](https://developer.android.com/reference/java/time/MonthDay.html#now())
///
/// Required features: "java-time-MonthDay"
#[cfg(any(feature = "all", all(feature = "java-time-MonthDay")))]
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::MonthDay>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/MonthDay", java.flags == PUBLIC | STATIC, .name == "now", .descriptor == "()Ljava/time/MonthDay;"
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/MonthDay\0", "now\0", "()Ljava/time/MonthDay;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [now](https://developer.android.com/reference/java/time/MonthDay.html#now(java.time.ZoneId))
///
/// Required features: "java-time-MonthDay", "java-time-ZoneId"
#[cfg(any(feature = "all", all(feature = "java-time-MonthDay", 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::MonthDay>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/MonthDay", java.flags == PUBLIC | STATIC, .name == "now", .descriptor == "(Ljava/time/ZoneId;)Ljava/time/MonthDay;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/MonthDay\0", "now\0", "(Ljava/time/ZoneId;)Ljava/time/MonthDay;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [now](https://developer.android.com/reference/java/time/MonthDay.html#now(java.time.Clock))
///
/// Required features: "java-time-Clock", "java-time-MonthDay"
#[cfg(any(feature = "all", all(feature = "java-time-Clock", feature = "java-time-MonthDay")))]
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::MonthDay>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/MonthDay", java.flags == PUBLIC | STATIC, .name == "now", .descriptor == "(Ljava/time/Clock;)Ljava/time/MonthDay;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/MonthDay\0", "now\0", "(Ljava/time/Clock;)Ljava/time/MonthDay;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [of](https://developer.android.com/reference/java/time/MonthDay.html#of(java.time.Month,%20int))
///
/// Required features: "java-time-Month", "java-time-MonthDay"
#[cfg(any(feature = "all", all(feature = "java-time-Month", feature = "java-time-MonthDay")))]
pub fn of_Month_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::Month>>, arg1: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::MonthDay>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/MonthDay", java.flags == PUBLIC | STATIC, .name == "of", .descriptor == "(Ljava/time/Month;I)Ljava/time/MonthDay;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/MonthDay\0", "of\0", "(Ljava/time/Month;I)Ljava/time/MonthDay;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [of](https://developer.android.com/reference/java/time/MonthDay.html#of(int,%20int))
///
/// Required features: "java-time-MonthDay"
#[cfg(any(feature = "all", all(feature = "java-time-MonthDay")))]
pub fn of_int_int<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: i32, arg1: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::MonthDay>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/MonthDay", java.flags == PUBLIC | STATIC, .name == "of", .descriptor == "(II)Ljava/time/MonthDay;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/MonthDay\0", "of\0", "(II)Ljava/time/MonthDay;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [from](https://developer.android.com/reference/java/time/MonthDay.html#from(java.time.temporal.TemporalAccessor))
///
/// Required features: "java-time-MonthDay", "java-time-temporal-TemporalAccessor"
#[cfg(any(feature = "all", all(feature = "java-time-MonthDay", 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::MonthDay>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/MonthDay", java.flags == PUBLIC | STATIC, .name == "from", .descriptor == "(Ljava/time/temporal/TemporalAccessor;)Ljava/time/MonthDay;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/MonthDay\0", "from\0", "(Ljava/time/temporal/TemporalAccessor;)Ljava/time/MonthDay;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [parse](https://developer.android.com/reference/java/time/MonthDay.html#parse(java.lang.CharSequence))
///
/// Required features: "java-lang-CharSequence", "java-time-MonthDay"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence", feature = "java-time-MonthDay")))]
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::MonthDay>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/MonthDay", java.flags == PUBLIC | STATIC, .name == "parse", .descriptor == "(Ljava/lang/CharSequence;)Ljava/time/MonthDay;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("java/time/MonthDay\0", "parse\0", "(Ljava/lang/CharSequence;)Ljava/time/MonthDay;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [parse](https://developer.android.com/reference/java/time/MonthDay.html#parse(java.lang.CharSequence,%20java.time.format.DateTimeFormatter))
///
/// Required features: "java-lang-CharSequence", "java-time-MonthDay", "java-time-format-DateTimeFormatter"
#[cfg(any(feature = "all", all(feature = "java-lang-CharSequence", feature = "java-time-MonthDay", 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::MonthDay>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/MonthDay", java.flags == PUBLIC | STATIC, .name == "parse", .descriptor == "(Ljava/lang/CharSequence;Ljava/time/format/DateTimeFormatter;)Ljava/time/MonthDay;"
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/MonthDay\0", "parse\0", "(Ljava/lang/CharSequence;Ljava/time/format/DateTimeFormatter;)Ljava/time/MonthDay;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [isSupported](https://developer.android.com/reference/java/time/MonthDay.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<'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/MonthDay", 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/MonthDay\0", "isSupported\0", "(Ljava/time/temporal/TemporalField;)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/MonthDay.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/MonthDay", 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/MonthDay\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/MonthDay.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/MonthDay", 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/MonthDay\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/MonthDay.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/MonthDay", 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/MonthDay\0", "getLong\0", "(Ljava/time/temporal/TemporalField;)J\0");
__jni_env.call_long_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getMonthValue](https://developer.android.com/reference/java/time/MonthDay.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/MonthDay", 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/MonthDay\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/MonthDay.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/MonthDay", 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/MonthDay\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/MonthDay.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/MonthDay", 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/MonthDay\0", "getDayOfMonth\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [isValidYear](https://developer.android.com/reference/java/time/MonthDay.html#isValidYear(int))
pub fn isValidYear<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/MonthDay", java.flags == PUBLIC, .name == "isValidYear", .descriptor == "(I)Z"
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/MonthDay\0", "isValidYear\0", "(I)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [withMonth](https://developer.android.com/reference/java/time/MonthDay.html#withMonth(int))
///
/// Required features: "java-time-MonthDay"
#[cfg(any(feature = "all", all(feature = "java-time-MonthDay")))]
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::MonthDay>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/MonthDay", java.flags == PUBLIC, .name == "withMonth", .descriptor == "(I)Ljava/time/MonthDay;"
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/MonthDay\0", "withMonth\0", "(I)Ljava/time/MonthDay;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [with](https://developer.android.com/reference/java/time/MonthDay.html#with(java.time.Month))
///
/// Required features: "java-time-Month", "java-time-MonthDay"
#[cfg(any(feature = "all", all(feature = "java-time-Month", feature = "java-time-MonthDay")))]
pub fn with<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::Month>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::time::MonthDay>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/MonthDay", java.flags == PUBLIC, .name == "with", .descriptor == "(Ljava/time/Month;)Ljava/time/MonthDay;"
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/MonthDay\0", "with\0", "(Ljava/time/Month;)Ljava/time/MonthDay;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [withDayOfMonth](https://developer.android.com/reference/java/time/MonthDay.html#withDayOfMonth(int))
///
/// Required features: "java-time-MonthDay"
#[cfg(any(feature = "all", all(feature = "java-time-MonthDay")))]
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::MonthDay>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/MonthDay", java.flags == PUBLIC, .name == "withDayOfMonth", .descriptor == "(I)Ljava/time/MonthDay;"
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/MonthDay\0", "withDayOfMonth\0", "(I)Ljava/time/MonthDay;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [query](https://developer.android.com/reference/java/time/MonthDay.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/MonthDay", 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/MonthDay\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/MonthDay.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/MonthDay", 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/MonthDay\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())
}
}
/// [format](https://developer.android.com/reference/java/time/MonthDay.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/MonthDay", 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/MonthDay\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())
}
}
/// [atYear](https://developer.android.com/reference/java/time/MonthDay.html#atYear(int))
///
/// Required features: "java-time-LocalDate"
#[cfg(any(feature = "all", all(feature = "java-time-LocalDate")))]
pub fn atYear<'env>(&'env self, arg0: i32) -> __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/MonthDay", java.flags == PUBLIC, .name == "atYear", .descriptor == "(I)Ljava/time/LocalDate;"
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/MonthDay\0", "atYear\0", "(I)Ljava/time/LocalDate;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [compareTo](https://developer.android.com/reference/java/time/MonthDay.html#compareTo(java.time.MonthDay))
///
/// Required features: "java-time-MonthDay"
#[cfg(any(feature = "all", all(feature = "java-time-MonthDay")))]
pub fn compareTo_MonthDay<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::MonthDay>>) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/MonthDay", java.flags == PUBLIC, .name == "compareTo", .descriptor == "(Ljava/time/MonthDay;)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/MonthDay\0", "compareTo\0", "(Ljava/time/MonthDay;)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/MonthDay.html#isAfter(java.time.MonthDay))
///
/// Required features: "java-time-MonthDay"
#[cfg(any(feature = "all", all(feature = "java-time-MonthDay")))]
pub fn isAfter<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::MonthDay>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/MonthDay", java.flags == PUBLIC, .name == "isAfter", .descriptor == "(Ljava/time/MonthDay;)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/MonthDay\0", "isAfter\0", "(Ljava/time/MonthDay;)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/MonthDay.html#isBefore(java.time.MonthDay))
///
/// Required features: "java-time-MonthDay"
#[cfg(any(feature = "all", all(feature = "java-time-MonthDay")))]
pub fn isBefore<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::time::MonthDay>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "java/time/MonthDay", java.flags == PUBLIC, .name == "isBefore", .descriptor == "(Ljava/time/MonthDay;)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/MonthDay\0", "isBefore\0", "(Ljava/time/MonthDay;)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/MonthDay.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/MonthDay", 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/MonthDay\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/MonthDay.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/MonthDay", 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/MonthDay\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/MonthDay.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/MonthDay", 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/MonthDay\0", "toString\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
}
}