Classes Files

com::wombat::mama::MamaDateTimePrecision

Public Functions

  Name
MamaDateTimePrecision getForInt(int value)
short getShortValue()
String toString()

Public Attributes

  Name
final MamaDateTimePrecision PREC_SECONDS
final MamaDateTimePrecision PREC_DECISECONDS
final MamaDateTimePrecision PREC_CENTISECONDS
final MamaDateTimePrecision PREC_MILLISECONDS
final MamaDateTimePrecision PREC_MICROSECONDS
final MamaDateTimePrecision PREC_DAYS
final MamaDateTimePrecision PREC_MINUTES
final MamaDateTimePrecision PREC_UNKNOWN

Public Functions Documentation

function getForInt

static inline MamaDateTimePrecision getForInt(
    int value
)

Return the precision from the int value.

function getShortValue

inline short getShortValue()

function toString

inline String toString()

Public Attributes Documentation

variable PREC_SECONDS

static final MamaDateTimePrecision PREC_SECONDS =
        new MamaDateTimePrecision ((short) 0, "seconds");

variable PREC_DECISECONDS

static final MamaDateTimePrecision PREC_DECISECONDS =
        new MamaDateTimePrecision ((short) 1, "deciseconds");

variable PREC_CENTISECONDS

static final MamaDateTimePrecision PREC_CENTISECONDS =
        new MamaDateTimePrecision ((short) 2, "centiseconds");

variable PREC_MILLISECONDS

static final MamaDateTimePrecision PREC_MILLISECONDS =
        new MamaDateTimePrecision ((short) 3, "milliseconds");

variable PREC_MICROSECONDS

static final MamaDateTimePrecision PREC_MICROSECONDS =
        new MamaDateTimePrecision ((short) 6, "microseconds");

variable PREC_DAYS

static final MamaDateTimePrecision PREC_DAYS =
        new MamaDateTimePrecision ((short) 10, "days");

variable PREC_MINUTES

static final MamaDateTimePrecision PREC_MINUTES =
        new MamaDateTimePrecision ((short) 12, "minutes");

variable PREC_UNKNOWN

static final MamaDateTimePrecision PREC_UNKNOWN =
        new MamaDateTimePrecision ((short) 15, "unknown");

Updated on 2023-03-31 at 15:29:42 +0100