178 Citrix NetScaler Policy Configuration and Reference Guide

Typecasting Operations

Operation

Description

 

 

number.TYPECAST_

Returns a Boolean value (TRUE or FALSE) that indicates

TIME_AT.GT(t)

whether the time value designated by number is greater than

 

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.

 

GT(GMT 2004): TRUE

 

GT(GMT 2005 Jan): TRUE

 

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

 

current timezone.

 

GT(GMT 8h): TRUE

 

GT(GMT 30m): FALSE

 

GT(GMT May 10h): FALSE

 

GT(GMT May 10h 0m): TRUE

 

GT(GMT Sun): FALSE

 

GT(GMT May Sun_1): FALSE

 

Parameters:

 

t - Time

 

 

number.TYPECAST_

Extracts the hour from the current system time and returns

TIME_AT.HOURS

the corresponding value as an integer that ranges from 0 to

 

23.

Page 192
Image 192
Citrix Systems 9.2 manual Gtgmt 2004 True, Gtgmt 2005 Jan True, GTLocal 2005 May True or FALSE, depending on, Gtgmt 8h True