SecurityPatchState.DateBasedSecurityPatchLevel


public final class SecurityPatchState.DateBasedSecurityPatchLevel extends SecurityPatchState.SecurityPatchLevel


Implementation of SecurityPatchLevel for a date-based patch level.

Summary

Public constructors

DateBasedSecurityPatchLevel(int year, int month, int day)

Public methods

int
static final @NonNull SecurityPatchState.DateBasedSecurityPatchLevel
final int

Day of the security patch level.

final int

Month of the security patch level.

final int

Year of the security patch level.

@NonNull String

Public constructors

DateBasedSecurityPatchLevel

Added in 1.0.0-alpha04
public DateBasedSecurityPatchLevel(int year, int month, int day)

Public methods

compareTo

Added in 1.0.0-alpha04
public int compareTo(@NonNull SecurityPatchState.SecurityPatchLevel other)

fromString

Added in 1.0.0-alpha04
public static final @NonNull SecurityPatchState.DateBasedSecurityPatchLevel fromString(@NonNull String value)

getDay

Added in 1.0.0-alpha04
public final int getDay()

Day of the security patch level.

getMonth

Added in 1.0.0-alpha04
public final int getMonth()

Month of the security patch level.

getYear

Added in 1.0.0-alpha04
public final int getYear()

Year of the security patch level.

toString

public @NonNull String toString()