TimeregPeriod class

From Catglobe Wiki
Revision as of 12:06, 14 April 2016 by Lekhacbaongoc (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=TimeregPeriod |Description=Define a registration period |Methods= {{CGscriptMethods_Template|ReturnType=empty|Name=Activate|Description=Activa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

TimeregPeriod



Define a registration period


Methods

  • empty Activate() - Activate the period and save it
  • empty Deactivate() - Deactivate the period and save it
  • string ToString() - The string representation of the object.

Properties

  • bool Active { get; } - Get if the period is active
  • DateTime FromDate { get; } - Get start date of the period
  • string Name { get; } - Get name of the period
  • string ObjectTypeName { get; } - The name of the type of object.
  • DateTime ToDate { get; } - Get end date of the period