Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Core.Time


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
//=============================================================================
/// Time-management class.
/// Not yet implemented.
/// This is a built-in Unreal class and it shouldn't be modified.
///
/// Coordinated Universal Time or UCT is the world standard time 
/// representation which is independent of time zone and daylight
/// savings time.  The UCT standard supercedes the obsolete Grenwich
/// Mean Time (GMT).
///
/// UCT is technically the time on the zeroth meridian plus 12 hours.
/// For example, to convert UCT to EST (Eastern Standard Time), subtract 
/// 5 hours from UCT and then (??if dst).
///
/// By definition, UCT experiences a discontinuity when a leap second 
/// is reached. However, this discontinuity is never exposed while Unreal is
/// running, as UCT is determined at startup time, and UCT is updated
/// continuously during gameplay according to the CPU clock.
///
/// Unreal time is exposed as a long (a 64-bit signed quantity) and
/// is defined as nanoseconds elapsed since 
/// midnight (00:00:00), January 1, 1970.
///
/// For more information about UCT and time, see
///  http://www.bldrdoc.gov/timefreq/faq/faq.htm
///  http://www.boulder.nist.gov/timefreq/glossary.htm
///  http://www.jat.org/jtt/datetime.html
///  http://www.eunet.pt/ano2000/gen_8601.htm
//=============================================================================
class Time
	extends Object
	transient;

/*
/// Returns current globally-consistent Coordinated Universal Time.
static final function long GetGlobalTime();

/// Converts global time to local time, taking into account the
/// local timezone and daylight savings time.
static final function long GlobalToLocal();

/// Converts local time to global time, taking into account the
/// local timezone and daylight savings time.
static final function long LocalToGlobal();

/// Return nanoseconds part of Time, 0-999.
static final invariant function long GetNSecs( long Time );

/// Returns microseconds part of Time, 0-999.
static final invariant function long GetUSecs( long Time );

/// Returns milliseconds part of Time, 0-999.
static final invariant function long GetMSecs( long Time );

/// Returns seconds part of Time, 0-59.
static final invariant function long GetSeconds( long Time );

/// Returns minutes part of Time, 0-59.
static final invariant function long GetMinutes( long Time );

/// Returns hours part of Time, 0-23.
static final invariant function long GetHours( long Time );

/// Returns days part of Time, 0 (first day of month)-31 (or last day, depends on month)
static final invariant function long GetDays( long Time );

/// Return day of week, 0 (Sunday)-6 (Saturday)
static final invariant function long DayOfWeek( long Time );

/// Return months part of Time, 0 (January) - 11 (December)
static final invariant function long GetMonths( long Time );

/// Return year.
static final invariant function long GetYears( long Time );

/// Convert the difference between times Later and Earlier to
/// a floating point value expressed in seconds.
static final invariant function float SpanSeconds( long Later, long Earlier );
*/

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Di 5.9.2006 22:27:42.000 - Creation time: Do 14.8.2014 09:58:52.329 - Created with UnCodeX