Difference between revisions of "Timereg class"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{CGscriptClass_Template |Name=Timereg |Description=Represent a registration time |Methods= {{CGscriptMethods_Template|ReturnType=empty|Name=Lock|Description=Lock the timereg...")
(No difference)

Revision as of 12:01, 14 April 2016

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