## Core
Class Time

source: C:\XIII\Core\Classes\Time.uc

    Core.Object
       |
       +--Core.Time

Direct Known Subclasses:None

class Time
extends Core.Object

    //=============================================================================
    /// 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
    //=============================================================================

Function Summary
`long` | `DayOfWeek(long Time)`
    /// Return day of week, 0 (Sunday)-6 (Saturday)
    static final invariant
`long` | `GetDays(long Time)`
    /// Returns days part of Time, 0 (first day of month)-31 (or last day, depends on month)
    static final invariant
`long` | `GetGlobalTime()`
    /// Returns current globally-consistent Coordinated Universal Time.
    static final
`long` | `GetHours(long Time)`
    /// Returns hours part of Time, 0-23.
    static final invariant
`long` | `GetMSecs(long Time)`
    /// Returns milliseconds part of Time, 0-999.
    static final invariant
`long` | `GetMinutes(long Time)`
    /// Returns minutes part of Time, 0-59.
    static final invariant
`long` | `GetMonths(long Time)`
    /// Return months part of Time, 0 (January) - 11 (December)
    static final invariant
`long` | `GetNSecs(long Time)`
    /// Return nanoseconds part of Time, 0-999.
    static final invariant
`long` | `GetSeconds(long Time)`
    /// Returns seconds part of Time, 0-59.
    static final invariant
`long` | `GetUSecs(long Time)`
    /// Returns microseconds part of Time, 0-999.
    static final invariant
`long` | `GetYears(long Time)`
    /// Return year.
    static final invariant
`long` | `GlobalToLocal()`
    /// Converts global time to local time, taking into account the
    /// local timezone and daylight savings time.
    static final
`long` | `LocalToGlobal()`
    /// Converts local time to global time, taking into account the
    /// local timezone and daylight savings time.
    static final
`float` | `SpanSeconds(long Later, long Earlier)`
    /// Convert the difference between times Later and Earlier to
    /// a floating point value expressed in seconds.
    static final invariant

Source Code

    00001	//=============================================================================
    00002	/// Time-management class.
    00003	/// Not yet implemented.
    00004	/// This is a built-in Unreal class and it shouldn't be modified.
    00005	///
    00006	/// Coordinated Universal Time or UCT is the world standard time
    00007	/// representation which is independent of time zone and daylight
    00008	/// savings time.  The UCT standard supercedes the obsolete Grenwich
    00009	/// Mean Time (GMT).
    00010	///
    00011	/// UCT is technically the time on the zeroth meridian plus 12 hours.
    00012	/// For example, to convert UCT to EST (Eastern Standard Time), subtract
    00013	/// 5 hours from UCT and then (??if dst).
    00014	///
    00015	/// By definition, UCT experiences a discontinuity when a leap second
    00016	/// is reached. However, this discontinuity is never exposed while Unreal is
    00017	/// running, as UCT is determined at startup time, and UCT is updated
    00018	/// continuously during gameplay according to the CPU clock.
    00019	///
    00020	/// Unreal time is exposed as a long (a 64-bit signed quantity) and
    00021	/// is defined as nanoseconds elapsed since
    00022	/// midnight (00:00:00), January 1, 1970.
    00023	///
    00024	/// For more information about UCT and time, see
    00025	///  http://www.bldrdoc.gov/timefreq/faq/faq.htm
    00026	///  http://www.boulder.nist.gov/timefreq/glossary.htm
    00027	///  http://www.jat.org/jtt/datetime.html
    00028	///  http://www.eunet.pt/ano2000/gen_8601.htm
    00029	//=============================================================================
    00030	class Time
    00031		extends Object
    00032		transient;
    00033
    00034	/*
    00035	/// Returns current globally-consistent Coordinated Universal Time.
    00036	static final function long GetGlobalTime();
    00037
    00038	/// Converts global time to local time, taking into account the
    00039	/// local timezone and daylight savings time.
    00040	static final function long GlobalToLocal();
    00041
    00042	/// Converts local time to global time, taking into account the
    00043	/// local timezone and daylight savings time.
    00044	static final function long LocalToGlobal();
    00045
    00046	/// Return nanoseconds part of Time, 0-999.
    00047	static final invariant function long GetNSecs( long Time );
    00048
    00049	/// Returns microseconds part of Time, 0-999.
    00050	static final invariant function long GetUSecs( long Time );
    00051
    00052	/// Returns milliseconds part of Time, 0-999.
    00053	static final invariant function long GetMSecs( long Time );
    00054
    00055	/// Returns seconds part of Time, 0-59.
    00056	static final invariant function long GetSeconds( long Time );
    00057
    00058	/// Returns minutes part of Time, 0-59.
    00059	static final invariant function long GetMinutes( long Time );
    00060
    00061	/// Returns hours part of Time, 0-23.
    00062	static final invariant function long GetHours( long Time );
    00063
    00064	/// Returns days part of Time, 0 (first day of month)-31 (or last day, depends on month)
    00065	static final invariant function long GetDays( long Time );
    00066
    00067	/// Return day of week, 0 (Sunday)-6 (Saturday)
    00068	static final invariant function long DayOfWeek( long Time );
    00069
    00070	/// Return months part of Time, 0 (January) - 11 (December)
    00071	static final invariant function long GetMonths( long Time );
    00072
    00073	/// Return year.
    00074	static final invariant function long GetYears( long Time );
    00075
    00076	/// Convert the difference between times Later and Earlier to
    00077	/// a floating point value expressed in seconds.
    00078	static final invariant function float SpanSeconds( long Later, long Earlier );
    00079	*/
    00080
    00081	defaultproperties
    00082	{
    00083	}

End Source Code