OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Shared.Conversions Class Reference

functions for various Petra-related conversions. More...

Static Public Member Functions

static Int32 DateTimeToInt32Time (DateTime ADateTime)
 encode the time value of DateTime in an Int32 More...
 
static DateTime Int32TimeToDateTime (Int32 AInt32Time)
 create a DateTime object for today with the given time encoded in the Int32 More...
 

Detailed Description

functions for various Petra-related conversions.

Member Function Documentation

◆ DateTimeToInt32Time()

static Int32 Ict.Petra.Shared.Conversions.DateTimeToInt32Time ( DateTime  ADateTime)
inlinestatic

encode the time value of DateTime in an Int32

Parameters
ADateTime
Returns

◆ Int32TimeToDateTime()

static DateTime Ict.Petra.Shared.Conversions.Int32TimeToDateTime ( Int32  AInt32Time)
inlinestatic

create a DateTime object for today with the given time encoded in the Int32

Parameters
AInt32Time
Returns

The documentation for this class was generated from the following file: