Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

Java/java/time/temporal/ChronoUnit.fz


# Fuzion interface to instance members of Java instance class 'java.time.temporal.ChronoUnit'
#
# !!!!!!  DO NOT EDIT, GENERATED CODE !!!!!!
#
# This code was generated automatically using the fzjava tool V0.087 called 
# as follows:
#
#   ./build/bin/fzjava java.base -to=build/modules/java.base -verbose=0
#
public Java.java.time.temporal.ChronoUnit(redef forbidden void) ref : Java.java.lang.Enum(forbidden), fuzion.java.Java_Object(forbidden) is

  # call Java instance method 'public java.time.temporal.Temporal java.time.temporal.ChronoUnit.addTo(java.time.temporal.Temporal,long)':
  #
  public addTo_Ljava_7_time_7_temporal_7_Temporal_s_J(arg0 Java.java.time.temporal.Temporal, arg1 i64) Java.java.time.temporal.Temporal =>
    fuzion.java.call_virtual (Java.java.time.temporal.Temporal) "java.time.temporal.ChronoUnit" "addTo" "(Ljava/time/temporal/Temporal;J)Ljava/time/temporal/Temporal;" ChronoUnit.this [(Java.java.time.temporal.ChronoUnit.addTo_Ljava_7_time_7_temporal_7_Temporal_s_J.this.arg0); (fuzion.java.i64_to_java_object Java.java.time.temporal.ChronoUnit.addTo_Ljava_7_time_7_temporal_7_Temporal_s_J.this.arg1)]

  # call Java instance method 'public long java.time.temporal.ChronoUnit.between(java.time.temporal.Temporal,java.time.temporal.Temporal)':
  #
  public between_Ljava_7_time_7_temporal_7_Temporal_s_Ljava_7_time_7_temporal_7_Temporal_s_(arg0 Java.java.time.temporal.Temporal, arg1 Java.java.time.temporal.Temporal) i64 =>
    fuzion.java.call_virtual (i64) "java.time.temporal.ChronoUnit" "between" "(Ljava/time/temporal/Temporal;Ljava/time/temporal/Temporal;)J" ChronoUnit.this [(Java.java.time.temporal.ChronoUnit.between_Ljava_7_time_7_temporal_7_Temporal_s_Ljava_7_time_7_temporal_7_Temporal_s_.this.arg0); (Java.java.time.temporal.ChronoUnit.between_Ljava_7_time_7_temporal_7_Temporal_s_Ljava_7_time_7_temporal_7_Temporal_s_.this.arg1)]

  # call Java instance method 'public java.time.Duration java.time.temporal.ChronoUnit.getDuration()':
  #
  public getDuration Java.java.time.Duration =>
    fuzion.java.call_virtual (Java.java.time.Duration) "java.time.temporal.ChronoUnit" "getDuration" "()Ljava/time/Duration;" ChronoUnit.this []

  # call Java instance method 'public boolean java.time.temporal.ChronoUnit.isDateBased()':
  #
  public isDateBased bool =>
    fuzion.java.call_virtual (bool) "java.time.temporal.ChronoUnit" "isDateBased" "()Z" ChronoUnit.this []

  # call Java instance method 'public boolean java.time.temporal.ChronoUnit.isDurationEstimated()':
  #
  public isDurationEstimated bool =>
    fuzion.java.call_virtual (bool) "java.time.temporal.ChronoUnit" "isDurationEstimated" "()Z" ChronoUnit.this []

  # call Java instance method 'public boolean java.time.temporal.ChronoUnit.isSupportedBy(java.time.temporal.Temporal)':
  #
  public isSupportedBy_Ljava_7_time_7_temporal_7_Temporal_s_(arg0 Java.java.time.temporal.Temporal) bool =>
    fuzion.java.call_virtual (bool) "java.time.temporal.ChronoUnit" "isSupportedBy" "(Ljava/time/temporal/Temporal;)Z" ChronoUnit.this [(Java.java.time.temporal.ChronoUnit.isSupportedBy_Ljava_7_time_7_temporal_7_Temporal_s_.this.arg0)]

  # call Java instance method 'public boolean java.time.temporal.ChronoUnit.isTimeBased()':
  #
  public isTimeBased bool =>
    fuzion.java.call_virtual (bool) "java.time.temporal.ChronoUnit" "isTimeBased" "()Z" ChronoUnit.this []

  # short-hand to call Java method 'public java.time.temporal.Temporal java.time.temporal.ChronoUnit.addTo(java.time.temporal.Temporal,long)':
  #
  public addTo(arg0 Java.java.time.temporal.Temporal, arg1 i64) (Java.java.time.temporal.Temporal) =>
    addTo_Ljava_7_time_7_temporal_7_Temporal_s_J Java.java.time.temporal.ChronoUnit.addTo.this.arg0 Java.java.time.temporal.ChronoUnit.addTo.this.arg1

  # short-hand to call Java method 'public long java.time.temporal.ChronoUnit.between(java.time.temporal.Temporal,java.time.temporal.Temporal)':
  #
  public between(arg0 Java.java.time.temporal.Temporal, arg1 Java.java.time.temporal.Temporal) (i64) =>
    between_Ljava_7_time_7_temporal_7_Temporal_s_Ljava_7_time_7_temporal_7_Temporal_s_ Java.java.time.temporal.ChronoUnit.between.this.arg0 Java.java.time.temporal.ChronoUnit.between.this.arg1

  # short-hand to call Java method 'public boolean java.time.temporal.ChronoUnit.isSupportedBy(java.time.temporal.Temporal)':
  #
  public isSupportedBy(arg0 Java.java.time.temporal.Temporal) (bool) =>
    isSupportedBy_Ljava_7_time_7_temporal_7_Temporal_s_ Java.java.time.temporal.ChronoUnit.isSupportedBy.this.arg0