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

Java/java/time/Instant_static.fz


# Fuzion interface to static members of Java class 'java.time.Instant'
#
# !!!!!!  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.Instant_static is

  # call Java static method 'public static java.time.Instant java.time.Instant.from(java.time.temporal.TemporalAccessor)':
  #
  public from_Ljava_7_time_7_temporal_7_TemporalAccessor_s_(arg0 Java.java.time.temporal.TemporalAccessor) Java.java.time.Instant =>
    fuzion.java.call_static (Java.java.time.Instant) "java.time.Instant" "from" "(Ljava/time/temporal/TemporalAccessor;)Ljava/time/Instant;" [(Java.java.time.Instant_static.from_Ljava_7_time_7_temporal_7_TemporalAccessor_s_.this.arg0)]

  # call Java static method 'public static java.time.Instant java.time.Instant.now()':
  #
  public now Java.java.time.Instant =>
    fuzion.java.call_static (Java.java.time.Instant) "java.time.Instant" "now" "()Ljava/time/Instant;" []

  # call Java static method 'public static java.time.Instant java.time.Instant.now(java.time.Clock)':
  #
  public now_Ljava_7_time_7_Clock_s_(arg0 Java.java.time.Clock) Java.java.time.Instant =>
    fuzion.java.call_static (Java.java.time.Instant) "java.time.Instant" "now" "(Ljava/time/Clock;)Ljava/time/Instant;" [(Java.java.time.Instant_static.now_Ljava_7_time_7_Clock_s_.this.arg0)]

  # call Java static method 'public static java.time.Instant java.time.Instant.ofEpochMilli(long)':
  #
  public ofEpochMilli_J(arg0 i64) Java.java.time.Instant =>
    fuzion.java.call_static (Java.java.time.Instant) "java.time.Instant" "ofEpochMilli" "(J)Ljava/time/Instant;" [(fuzion.java.i64_to_java_object Java.java.time.Instant_static.ofEpochMilli_J.this.arg0)]

  # call Java static method 'public static java.time.Instant java.time.Instant.ofEpochSecond(long)':
  #
  public ofEpochSecond_J(arg0 i64) Java.java.time.Instant =>
    fuzion.java.call_static (Java.java.time.Instant) "java.time.Instant" "ofEpochSecond" "(J)Ljava/time/Instant;" [(fuzion.java.i64_to_java_object Java.java.time.Instant_static.ofEpochSecond_J.this.arg0)]

  # call Java static method 'public static java.time.Instant java.time.Instant.ofEpochSecond(long,long)':
  #
  public ofEpochSecond_JJ(arg0 i64, arg1 i64) Java.java.time.Instant =>
    fuzion.java.call_static (Java.java.time.Instant) "java.time.Instant" "ofEpochSecond" "(JJ)Ljava/time/Instant;" [(fuzion.java.i64_to_java_object Java.java.time.Instant_static.ofEpochSecond_JJ.this.arg0); (fuzion.java.i64_to_java_object Java.java.time.Instant_static.ofEpochSecond_JJ.this.arg1)]

  # call Java static method 'public static java.time.Instant java.time.Instant.parse(java.lang.CharSequence)':
  #
  public parse_Ljava_7_lang_7_CharSequence_s_(arg0 Java.java.lang.CharSequence) Java.java.time.Instant =>
    fuzion.java.call_static (Java.java.time.Instant) "java.time.Instant" "parse" "(Ljava/lang/CharSequence;)Ljava/time/Instant;" [(Java.java.time.Instant_static.parse_Ljava_7_lang_7_CharSequence_s_.this.arg0)]

  # short-hand to call Java method 'public static java.time.Instant java.time.Instant.from(java.time.temporal.TemporalAccessor)':
  #
  public from(arg0 Java.java.time.temporal.TemporalAccessor) (Java.java.time.Instant) =>
    from_Ljava_7_time_7_temporal_7_TemporalAccessor_s_ Java.java.time.Instant_static.from.this.arg0

  # short-hand to call Java method 'public static java.time.Instant java.time.Instant.now(java.time.Clock)':
  #
  public now(arg0 Java.java.time.Clock) (Java.java.time.Instant) =>
    now_Ljava_7_time_7_Clock_s_ Java.java.time.Instant_static.now.this.arg0

  # short-hand to call Java method 'public static java.time.Instant java.time.Instant.ofEpochMilli(long)':
  #
  public ofEpochMilli(arg0 i64) (Java.java.time.Instant) =>
    ofEpochMilli_J Java.java.time.Instant_static.ofEpochMilli.this.arg0

  # short-hand to call Java method 'public static java.time.Instant java.time.Instant.ofEpochSecond(long)':
  #
  public ofEpochSecond(arg0 i64) (Java.java.time.Instant) =>
    ofEpochSecond_J Java.java.time.Instant_static.ofEpochSecond.this.arg0

  # short-hand to call Java method 'public static java.time.Instant java.time.Instant.ofEpochSecond(long,long)':
  #
  public ofEpochSecond(arg0 i64, arg1 i64) (Java.java.time.Instant) =>
    ofEpochSecond_JJ Java.java.time.Instant_static.ofEpochSecond.this.arg0 Java.java.time.Instant_static.ofEpochSecond.this.arg1

  # short-hand to call Java method 'public static java.time.Instant java.time.Instant.parse(java.lang.CharSequence)':
  #
  public parse(arg0 Java.java.lang.CharSequence) (Java.java.time.Instant) =>
    parse_Ljava_7_lang_7_CharSequence_s_ Java.java.time.Instant_static.parse.this.arg0

  # read static Java field 'public static final java.time.Instant java.time.Instant.EPOCH':
  #
  public EPOCH Java.java.time.Instant =>
    fuzion.java.get_static_field (Java.java.time.Instant) "java.time.Instant" "EPOCH"

  # read static Java field 'public static final java.time.Instant java.time.Instant.MAX':
  #
  public MAX Java.java.time.Instant =>
    fuzion.java.get_static_field (Java.java.time.Instant) "java.time.Instant" "MAX"

  # read static Java field 'public static final java.time.Instant java.time.Instant.MIN':
  #
  public MIN Java.java.time.Instant =>
    fuzion.java.get_static_field (Java.java.time.Instant) "java.time.Instant" "MIN"