File: n_svc_format.sru
Size: 3300
Date: Mon, 07 Apr 2008 21:31:11 +0200
$PBExportHeader$n_svc_format.sru
$PBExportComments$Format service
forward
global type n_svc_format from n_svc_base
end type
end forward

shared variables
string DATE_FORMAT = "d/m/yyyy"
string TIME_FORMAT = "h:mm AM/PM"
string DATETIME_FORMAT = "d/m/yyyy h:mm AM/PM"
string MONEY_FORMAT = "#,##0.00"
end variables
global type n_svc_format from n_svc_base
end type
global n_svc_format n_svc_format

type variables

end variables
forward prototypes
public function string of_getdatetimeformat ()
public function string of_getdateformat ()
public function string of_gettimeformat ()
public function string of_getmoneyformat ()
end prototypes

public function string of_getdatetimeformat ();//===========================================================================
// Function: of_Getdatetimeformat (public )
// Object: n_svc_format
//---------------------------------------------------------------------------
// Description:
// Note:
//---------------------------------------------------------------------------
// Returns: String
//---------------------------------------------------------------------------
// Author: (Yeyi) Gabriel B. Abulencia
//===========================================================================
RETURN DATETIME_FORMAT
end function

public function string of_getdateformat ();//===========================================================================
// Function: of_Getdateformat (public )
// Object: n_svc_format
//---------------------------------------------------------------------------
// Description:
// Note:
//---------------------------------------------------------------------------
// Returns: String
//---------------------------------------------------------------------------
// Author: (Yeyi) Gabriel B. Abulencia
//===========================================================================
RETURN DATE_FORMAT
end function

public function string of_gettimeformat ();//===========================================================================
// Function: of_Gettimeformat (public )
// Object: n_svc_format
//---------------------------------------------------------------------------
// Description:
// Note:
//---------------------------------------------------------------------------
// Returns: String
//---------------------------------------------------------------------------
// Author: (Yeyi) Gabriel B. Abulencia
//===========================================================================
RETURN TIME_FORMAT
end function

public function string of_getmoneyformat ();//===========================================================================
// Function: of_Getmoneyformat (public )
// Object: n_svc_format
//---------------------------------------------------------------------------
// Description:
// Note:
//---------------------------------------------------------------------------
// Returns: String
//---------------------------------------------------------------------------
// Author: (Yeyi) Gabriel B. Abulencia
//===========================================================================
RETURN MONEY_FORMAT
end function

on n_svc_format.create
call super::create
end on

on n_svc_format.destroy
call super::destroy
end on