Show / Hide Table of Contents

Struct RawYearMonthInterval

An immutable POF year-month interval value.

Inherited Members
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: Tangosol.IO.Pof
Assembly: Coherence.dll
Syntax
public struct RawYearMonthInterval

Constructors

RawYearMonthInterval(int, int)

Constructs a year-month interval value.

Declaration
public RawYearMonthInterval(int years, int months)
Parameters
Type Name Description
int years

The number of years in the year-month interval.

int months

The number of months in the year-month interval.

Properties

Months

Gets the number of months in the year-month interval.

Declaration
public int Months { get; }
Property Value
Type Description
int

The number of months in the year-month interval.

Years

Gets the number of years in the year-month interval.

Declaration
public int Years { get; }
Property Value
Type Description
int

The number of years in the year-month interval.

Methods

Equals(object)

Compare this object with another for equality.

Declaration
public override bool Equals(object o)
Parameters
Type Name Description
object o

Another object to compare to for equality.

Returns
Type Description
bool

true iff this object is equal to the other object.

Overrides
ValueType.Equals(object)

GetHashCode()

Obtain the hashcode for this object.

Declaration
public override int GetHashCode()
Returns
Type Description
int

An integer hashcode.

Overrides
ValueType.GetHashCode()

ToString()

Format this object's data as a human-readable string.

Declaration
public override string ToString()
Returns
Type Description
string

A string description of this object.

Overrides
ValueType.ToString()
In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.