Help Library
Big and Little Endian

The order of the data is dependent on if the CPU is Big Endian or Little Endian. This assures that a comparison done on the whole structure as an Int32 (Time32) will return a valid response according to the magnitude of the value. For example if A.Hour was the same as B.Hour, but A.Minute was greater than B.Minute, the comparison would be valid for either Big Endian or Little Endian CPUs.

For comparisons the DayOfWeek value would typically be zero if this is only time. If this is part of a larger structure including date, the value of DayOfWeek would only have significance if the date and time portion matched. In such a case the DayOfWeek should match.

ShofarCoin™
Help Library

Core

Dev

Kind

Kit

Leaf

Map

Message

Net

Overview

Packet

Primitives

Run

Secure

Session

Site

Socket

Sprint

Stack

Tool

The Tree

Primitives

Belt

Bond

Branch

Build

Fact

File

Glob

ID

Image

Leaf

Log

Markup

Money

Object

Package

Parse

Phrase

Render

Sprint

Stack

String

Sum

SVG

Time

Tray

Unit

Verb

Time

Object

Date

Time

Format

Time_64

32

Time_128
Time