Chapter 9 Advanced Expressions: String Sets, String Patterns, and Data Formats 177

Typecasting Operations

Operation

Description

 

 

number.TYPECAST_

Returns a Boolean value (TRUE or FALSE) that indicates

TIME_AT.EQ(t)

whether the time value designated by number is equal to the

 

time value argument t.

 

The following examples assume that the current time value

 

is GMT 2005 May 1 10h 15m 30s and that the day is the 1st

 

Sunday of the month of May in 2005. The result of the

 

evaluation is given after each example.

 

EQ(GMT 2005): TRUE

 

EQ(GMT 2005 Dec): FALSE

 

EQ(Local 2005 May): TRUE or FALSE, depending on the

 

current timezone.

 

EQ(GMT 10h): TRUE

 

EQ(GMT 10h 30s): TRUE

 

EQ(GMT May 10h): TRUE

 

EQ(GMT Sun): TRUE

 

EQ(GMT May Sun_1): TRUE

 

Parameters:

 

t - Time

 

 

number.TYPECAST_

Returns a Boolean value (TRUE or FALSE) that indicates

TIME_AT.GE(t)

whether the time value designated by number is greater than

 

or equal to the time value argument t.

 

The following examples assume that the current time value

 

is GMT 2005 May 1 10h 15m 30s and that the day is the 1st

 

Sunday of the month of May in 2005. The result of the

 

evaluation is given after each example.

 

GE(GMT 2004): TRUE

 

GE(GMT 2005 Jan): TRUE

 

GE(Local 2005 May): TRUE or FALSE, depending on the

 

current timezone.

 

GE(GMT 8h): TRUE

 

GE(GMT 30m): FALSE

 

GE(GMT May 10h): TRUE

 

GE(GMT May 10h 0m): TRUE

 

GE(GMT Sun): TRUE

 

GE(GMT May Sun_1): TRUE

 

Parameters:

 

t - Time

 

 

Page 191
Image 191
Citrix Systems 9.2 manual Time value argument t, Eqgmt 2005 True, Eqgmt 2005 Dec False, Current timezone, Eqgmt 10h True