Timereg class

From Catglobe Wiki
Revision as of 11:01, 14 April 2016 by Lekhacbaongoc (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=Timereg |Description=Represent a registration time |Methods= {{CGscriptMethods_Template|ReturnType=empty|Name=Lock|Description=Lock the timereg...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Timereg



Represent a registration time


Methods

  • empty Lock() - Lock the timereg and save it
  • string ToString() - The string representation of the object.

Properties

  • DateTime Date { get; } - Get registration date
  • bool Locked { get; } - Get if the registration is locked
  • string ObjectTypeName { get; } - The name of the type of object.
  • string Status { get; } - Get registration type of day (Met, Weekend,... etc)
  • TimeregPeriod TimeregPeriod { get; } - Get a TimePeriod object in association with the registration
  • number TotalHours { get; } - Get total hours registered