Tabnine Logo
IsoEra.of
Code IndexAdd Tabnine to your IDE (free)

How to use
of
method
in
java.time.chrono.IsoEra

Best Java code snippets using java.time.chrono.IsoEra.of (Showing top 3 results out of 315)

origin: org.threeten/threeten-extra

/**
 * Creates the chronology era object from the numeric value.
 * <p>
 * The list of eras is shared with {@link IsoEra}.
 *
 * @param eraValue  the era value
 * @return the calendar system era, not null
 * @throws DateTimeException if unable to create the era
 */
@Override
public IsoEra eraOf(int eraValue) {
  return IsoEra.of(eraValue);
}
origin: org.threeten/threeten-extra

/**
 * Creates the chronology era object from the numeric value.
 * <p>
 * The list of eras is shared with {@link IsoEra}.
 *
 * @param eraValue  the era value
 * @return the calendar system era, not null
 * @throws DateTimeException if unable to create the era
 */
@Override
public IsoEra eraOf(int eraValue) {
  return IsoEra.of(eraValue);
}
origin: com.github.seratch/java-time-backport

@Override
public IsoEra eraOf(int eraValue) {
  return IsoEra.of(eraValue);
}
java.time.chronoIsoEraof

Javadoc

Obtains an instance of IsoEra from an int value.

IsoEra is an enum representing the ISO eras of BCE/CE. This factory allows the enum to be obtained from the int value.

Popular methods of IsoEra

  • getValue
    Gets the numeric era int value. The era BCE has the value 0, while the era CE has the value 1.
  • values
  • getDisplayName
  • getLong
  • ordinal
  • range

Popular in Java

  • Updating database using SQL prepared statement
  • setContentView (Activity)
  • findViewById (Activity)
  • requestLocationUpdates (LocationManager)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Permission (java.security)
    Legacy security code; do not use.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now