예제 #1
0
    public static string  stringFromDateAndTimeKind(TypeDateAndTimeKind the_enum)
    {
        switch (the_enum)
        {
        case TypeDateAndTimeKind.DateAndTimeKind_TimeOfMoonPhase:
            return("TimeOfMoonPhase");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
예제 #2
0
    public static string  stringFromDateAndTimeKind(TypeDateAndTimeKind the_enum)
    {
        switch (the_enum)
        {
        case TypeDateAndTimeKind.DateAndTimeKind_HolidaysOnDateLookup:
            return("HolidaysOnDateLookup");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
예제 #3
0
    public static string  stringFromDateAndTimeKind(TypeDateAndTimeKind the_enum)
    {
        switch (the_enum)
        {
        case TypeDateAndTimeKind.DateAndTimeKind_SunriseSunsetTime:
            return("SunriseSunsetTime");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
예제 #4
0
    public static string  stringFromDateAndTimeKind(TypeDateAndTimeKind the_enum)
    {
        switch (the_enum)
        {
        case TypeDateAndTimeKind.DateAndTimeKind_TimeBetweenLocations:
            return("TimeBetweenLocations");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
예제 #5
0
 protected override void handle_result(TypeDateAndTimeKind result)
 {
     top.value.Add(result);
 }
예제 #6
0
            protected override void handle_result(TypeDateAndTimeKind result)
            {
//@@@        Debug.Assert(!have_value);
                have_value = true;
                value      = result;
            }
예제 #7
0
 protected abstract void handle_result(TypeDateAndTimeKind result);
예제 #8
0
 public void setDateAndTimeKind(TypeDateAndTimeKind new_value)
 {
     setDateAndTimeKind();
 }