[−]Struct jni_android_sys::java::time::OffsetTime
public final class OffsetTime
Required feature: java-time-OffsetTime
Methods
impl OffsetTime
pub fn now<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime"
pub fn now_zone_id<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ZoneId>>
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ZoneId>>
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime", "java-time-ZoneId"
pub fn now_clock<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Clock>>
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Clock>>
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-Clock", "java-time-OffsetTime"
pub fn of_local_time_zone_offset<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env LocalTime>>,
arg1: impl Into<Option<&'env ZoneOffset>>
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env LocalTime>>,
arg1: impl Into<Option<&'env ZoneOffset>>
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-LocalTime", "java-time-OffsetTime", "java-time-ZoneOffset"
pub fn of_int_int_int_int_zone_offset<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env ZoneOffset>>
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env ZoneOffset>>
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime", "java-time-ZoneOffset"
pub fn of_instant<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Instant>>,
arg1: impl Into<Option<&'env ZoneId>>
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Instant>>,
arg1: impl Into<Option<&'env ZoneId>>
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-Instant", "java-time-OffsetTime", "java-time-ZoneId"
pub fn from<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env TemporalAccessor>>
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env TemporalAccessor>>
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime", "java-time-temporal-TemporalAccessor"
pub fn parse_char_sequence<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-lang-CharSequence", "java-time-OffsetTime"
pub fn parse_char_sequence_date_time_formatter<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env DateTimeFormatter>>
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env DateTimeFormatter>>
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-lang-CharSequence", "java-time-OffsetTime", "java-time-format-DateTimeFormatter"
pub fn is_supported_temporal_field<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalField>>
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalField>>
) -> Result<bool>
Required features: "java-time-temporal-TemporalField"
pub fn is_supported_temporal_unit<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalUnit>>
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalUnit>>
) -> Result<bool>
Required features: "java-time-temporal-TemporalUnit"
pub fn range<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalField>>
) -> Result<Option<Local<'env, ValueRange>>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalField>>
) -> Result<Option<Local<'env, ValueRange>>>
Required features: "java-time-temporal-TemporalField", "java-time-temporal-ValueRange"
pub fn get<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalField>>
) -> Result<i32>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalField>>
) -> Result<i32>
Required features: "java-time-temporal-TemporalField"
pub fn get_long<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalField>>
) -> Result<i64>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalField>>
) -> Result<i64>
Required features: "java-time-temporal-TemporalField"
pub fn get_offset<'env>(&'env self) -> Result<Option<Local<'env, ZoneOffset>>>
[src]
Required features: "java-time-ZoneOffset"
pub fn with_offset_same_local<'env>(
&'env self,
arg0: impl Into<Option<&'env ZoneOffset>>
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: impl Into<Option<&'env ZoneOffset>>
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime", "java-time-ZoneOffset"
pub fn with_offset_same_instant<'env>(
&'env self,
arg0: impl Into<Option<&'env ZoneOffset>>
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: impl Into<Option<&'env ZoneOffset>>
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime", "java-time-ZoneOffset"
pub fn to_local_time<'env>(&'env self) -> Result<Option<Local<'env, LocalTime>>>
[src]
Required features: "java-time-LocalTime"
pub fn get_hour<'env>(&'env self) -> Result<i32>
[src]
pub fn get_minute<'env>(&'env self) -> Result<i32>
[src]
pub fn get_second<'env>(&'env self) -> Result<i32>
[src]
pub fn get_nano<'env>(&'env self) -> Result<i32>
[src]
pub fn with_temporal_adjuster<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalAdjuster>>
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalAdjuster>>
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime", "java-time-temporal-TemporalAdjuster"
pub fn with_temporal_field_long<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalField>>,
arg1: i64
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalField>>,
arg1: i64
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime", "java-time-temporal-TemporalField"
pub fn with_hour<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime"
pub fn with_minute<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime"
pub fn with_second<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime"
pub fn with_nano<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime"
pub fn truncated_to<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalUnit>>
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalUnit>>
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime", "java-time-temporal-TemporalUnit"
pub fn plus_temporal_amount<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalAmount>>
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalAmount>>
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime", "java-time-temporal-TemporalAmount"
pub fn plus_long_temporal_unit<'env>(
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env TemporalUnit>>
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env TemporalUnit>>
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime", "java-time-temporal-TemporalUnit"
pub fn plus_hours<'env>(
&'env self,
arg0: i64
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime"
pub fn plus_minutes<'env>(
&'env self,
arg0: i64
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime"
pub fn plus_seconds<'env>(
&'env self,
arg0: i64
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime"
pub fn plus_nanos<'env>(
&'env self,
arg0: i64
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime"
pub fn minus_temporal_amount<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalAmount>>
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalAmount>>
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime", "java-time-temporal-TemporalAmount"
pub fn minus_long_temporal_unit<'env>(
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env TemporalUnit>>
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env TemporalUnit>>
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime", "java-time-temporal-TemporalUnit"
pub fn minus_hours<'env>(
&'env self,
arg0: i64
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime"
pub fn minus_minutes<'env>(
&'env self,
arg0: i64
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime"
pub fn minus_seconds<'env>(
&'env self,
arg0: i64
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime"
pub fn minus_nanos<'env>(
&'env self,
arg0: i64
) -> Result<Option<Local<'env, OffsetTime>>>
[src]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, OffsetTime>>>
Required features: "java-time-OffsetTime"
pub fn query<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalQuery>>
) -> Result<Option<Local<'env, Object>>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalQuery>>
) -> Result<Option<Local<'env, Object>>>
Required features: "java-lang-Object", "java-time-temporal-TemporalQuery"
pub fn adjust_into<'env>(
&'env self,
arg0: impl Into<Option<&'env Temporal>>
) -> Result<Option<Local<'env, Temporal>>>
[src]
&'env self,
arg0: impl Into<Option<&'env Temporal>>
) -> Result<Option<Local<'env, Temporal>>>
Required features: "java-time-temporal-Temporal"
pub fn until<'env>(
&'env self,
arg0: impl Into<Option<&'env Temporal>>,
arg1: impl Into<Option<&'env TemporalUnit>>
) -> Result<i64>
[src]
&'env self,
arg0: impl Into<Option<&'env Temporal>>,
arg1: impl Into<Option<&'env TemporalUnit>>
) -> Result<i64>
Required features: "java-time-temporal-Temporal", "java-time-temporal-TemporalUnit"
pub fn format<'env>(
&'env self,
arg0: impl Into<Option<&'env DateTimeFormatter>>
) -> Result<Option<Local<'env, String>>>
[src]
&'env self,
arg0: impl Into<Option<&'env DateTimeFormatter>>
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String", "java-time-format-DateTimeFormatter"
pub fn at_date<'env>(
&'env self,
arg0: impl Into<Option<&'env LocalDate>>
) -> Result<Option<Local<'env, OffsetDateTime>>>
[src]
&'env self,
arg0: impl Into<Option<&'env LocalDate>>
) -> Result<Option<Local<'env, OffsetDateTime>>>
Required features: "java-time-LocalDate", "java-time-OffsetDateTime"
pub fn compare_to_offset_time<'env>(
&'env self,
arg0: impl Into<Option<&'env OffsetTime>>
) -> Result<i32>
[src]
&'env self,
arg0: impl Into<Option<&'env OffsetTime>>
) -> Result<i32>
Required features: "java-time-OffsetTime"
pub fn is_after<'env>(
&'env self,
arg0: impl Into<Option<&'env OffsetTime>>
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env OffsetTime>>
) -> Result<bool>
Required features: "java-time-OffsetTime"
pub fn is_before<'env>(
&'env self,
arg0: impl Into<Option<&'env OffsetTime>>
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env OffsetTime>>
) -> Result<bool>
Required features: "java-time-OffsetTime"
pub fn is_equal<'env>(
&'env self,
arg0: impl Into<Option<&'env OffsetTime>>
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env OffsetTime>>
) -> Result<bool>
Required features: "java-time-OffsetTime"
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn hash_code<'env>(&'env self) -> Result<i32>
[src]
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
Required features: "java-lang-String"
Methods from Deref<Target = Object>
pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>
[src]
Required features: "java-lang-Class"
pub fn hash_code<'env>(&'env self) -> Result<i32>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<()>
[src]
pub fn notify_all<'env>(&'env self) -> Result<()>
[src]
pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>
[src]
pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>
[src]
pub fn wait<'env>(&'env self) -> Result<()>
[src]
Trait Implementations
impl AsRef<Temporal> for OffsetTime
impl AsRef<TemporalAdjuster> for OffsetTime
fn as_ref(&self) -> &TemporalAdjuster
impl AsRef<Comparable> for OffsetTime
fn as_ref(&self) -> &Comparable
impl AsRef<Serializable> for OffsetTime
fn as_ref(&self) -> &Serializable
impl Deref for OffsetTime
impl AsValidJObjectAndEnv for OffsetTime
impl AsJValue for OffsetTime
Auto Trait Implementations
impl !Sync for OffsetTime
impl !Send for OffsetTime
impl Unpin for OffsetTime
impl RefUnwindSafe for OffsetTime
impl UnwindSafe for OffsetTime
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,