Table of Contents

Class DatabaseMaintenancePeriodConverter

Namespace
Geotab.Checkmate.Settings
Assembly
Geotab.Checkmate.ObjectModel.dll

A class to calculate when to do database maintenance based on periods.

public static class DatabaseMaintenancePeriodConverter
Inheritance
DatabaseMaintenancePeriodConverter
Inherited Members

Methods

Add(in DateTime, DatabaseMaintenancePeriod)

Adds the specified period to a date.

public static DateTime Add(in DateTime date, DatabaseMaintenancePeriod period)

Parameters

date DateTime

The date.

period DatabaseMaintenancePeriod

The period.

Returns

DateTime

The added date.

Subtract(in DateTime, DatabaseMaintenancePeriod)

Subtracts the specified period from a date.

public static DateTime Subtract(in DateTime date, DatabaseMaintenancePeriod period)

Parameters

date DateTime

The date.

period DatabaseMaintenancePeriod

The period.

Returns

DateTime

The subtracted date.